-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICX connection/elevation fails due to different password prompt #514
Comments
@sjwk hello, thanks for reporting the issue! @commscope @sushma-alethea as you mentioned as its maintainers, would you like to take a look? If anyone else wants to fix it, here's the Quick-start dev guide that can help. |
When I have some time I will look into the dev guide, never actually submitted any PRs before and don't have an environment set up, but something I'd be interested in learning. In the meantime, I've located where the issue is, and worked around it - although my 'fix' is more of a kludge and doesn't scale well, so I'll look at some other network modules and see if they have a better model. In It seems to work in my test case, but doesn't seem the most efficient way to do it, and if other settings require different password prompts, wouldn't scale well to keep adding more options to the password prompt expression. |
cool, thanks for your interest! i'm not a network engineer and not a spec in the underlying technology used by the modules but i can help with general contribution related stuff. |
SUMMARY
My ICX switches currently have a configuration setting
aaa authentication enable default enable
, which changes the enable prompt. Removing the configuration entry fixes the issue, but would be nice if the module handled both 'Password:' and 'Enable Password' prompts.ISSUE TYPE
COMPONENT NAME
All icx_ modules
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Ruckus ICX switches running OS 08.0.95bcT211
STEPS TO REPRODUCE
Ruckus config contains:
Ansible playbook configured with:
Running the above times out. I had one switch configured slightly differently which worked. Eventually found that with the configuration line to use the enable password (1st line) present, the prompt for the password was different (this may also be the case if other authentication options are chosen):
EXPECTED RESULTS
To run the task
ACTUAL RESULTS
To timeout and not run the task
It may be that the Ruckus configuration is superfluous - certainly without the line it still authenticates with the user password and accepts the specific enable password to go into enable mode.
The text was updated successfully, but these errors were encountered: