napalm: Cannot install config if candidate change username
Description of Issue/Question
When the candidate configuration change an username, the configuration replace ask for a confirmation:
This operation will remove all username related configurations with same name.Do you want to continue? [confirm]
load_replace_candidate hangs and fails to complete.
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
- Yes
- No
Setup
napalm-ios version
(Paste verbatim output from pip freeze | grep napalm-ios
between quotes below)
-e git+https://github.com/napalm-automation/napalm-ios@8cf5d607a5b8e285d505c6827f828f659ca3d781#egg=napalm_ios
IOS version
(Paste verbatim output from show version
between quotes below)
Version 03.06.06E
Steps to Reproduce the Issue
load_replace_candidate a configuration that has different username than those defined in the running
Error Traceback
(Paste the complete traceback of the exception between quotes below)
cannot install config: Search pattern never detected in send_command_expect: [>##]\\s*$
Issue moved from https://github.com/napalm-automation/napalm-ios/issues/215
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 2
- Comments: 19 (11 by maintainers)
@jwbensley Can you see if this fix works:
https://github.com/napalm-automation/napalm/tree/confirm_username_fix
Hi all! I have this issue as well. I’m running a 2960X switch stack on 15.2(2)E7.
Regards,
@ktbyers I can still reproduce this in 03.06.06E (IOS-XE train, I’m hitting this on a C3650).
Note that I only have one user on this device and I’m trying to change its name.