08-01-2021 06:06 AM
I am learning Ansible with the IOS XE device. Everything works smooth in the beginning but since last Thursday, I am not able to connect to these two sandboxes using Ansible:
The error messages are:
fatal: [sandbox-iosxe-recomm-1.cisco.com]: FAILED! => {"changed": false, "msg": "unable to elevate privilege to enable mode, at prompt [None] with error: timeout value 30 seconds reached while trying to send command: b'enable'"}
fatal: [ios-xe-mgmt.cisco.com]: FAILED! => {"changed": false, "msg": "unable to elevate privilege to enable mode, at prompt [None] with error: timeout value 30 seconds reached while trying to send command: b'enable'"}
Did anyone come across the same issue?
08-01-2021 08:54 AM
@EvanC can you ssh to them? As these are always on sandbox, there is often a lot of use and sometimes changes made by other users which will impact access.
Hope this helpss.
08-01-2021 04:26 PM
Yes, I can ssh to both of them even without ssh password, and I also realised the host names were changed.
I understand this is a shared environment, someone might do something magic, but can't the sandbox admin do a regular sanity check on these always on sandbox to clean up the configuration, which might impact the access from other users?
08-03-2021 02:55 AM
@EvanC there is a cleanup script that runs daily to sanitize the devices, however sometimes damage caused by misuse need the ENG team to manually fix issues. Hope your code is now working.
08-04-2021 10:05 PM
Yes, they are all working now. Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide