Skip to content
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

Module nxos_install_os is failing with Cisco MDS and httpapi connection mode. #100

Open
gcezaralmeida opened this issue Nov 27, 2022 · 0 comments

Comments

@gcezaralmeida
Copy link

So, I changed the ansible_connection to "ansible.netcommon.httpapi" and I getting an error during nxos_install_os phase:

TASK [Install NXOS] *********************************************************************************************************
failed: [switch02] (item={'kickstart': 'm9700-sf4ek9-kickstart-mz.9.3.1.bin', 'system': 'm9700-sf4ek9-mz.9.3.1.bin', 'model': 'DS-C9710'}) => {"ansible_loop_var": "item", "changed": false, "item": {"kickstart": "m9700-sf4ek9-kickstart-mz.9.3.1.bin", "model": "DS-C9710", "system": "m9700-sf4ek9-mz.9.3.1.bin"}, "msg": "Failed to upgrade device using command: ['terminal dont-ask', 'install all force system m9700-sf4ek9-mz.9.3.1.bin kickstart m9700-sf4ek9-kickstart-mz.9.3.1.bin']", "raw_data": ["400"]}

I checked the command above in the switch and it's appearing that cisco mds doesn't have "force" option. Maybe the Nexus switches have but MDS I don't think so. I tried manually to do the upgrade and the terminal doesn't accept the command, only when I remove the force option, it runs.

switchname# install all ?

epld Install EPLD from EPLD image
kickstart Boot-variable name
ssi Boot-variable name
system Boot-variable name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant