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
Crash with KeyError on nxos_config module #57131
Comments
Files identified in the description: If these files are inaccurate, please update the |
@call-tomorrow, just so you are aware we have a dedicated Working Group for network. |
same exact issue for ios_config using 2.8.0 on RH (upgraded last weekend) no issues with 2.7.5
edit: turns out I had a library module for ios_config.py that was obsolete in addition to having --check alias on ansible-playbook. Adding backup_options to the role and all is good, no more bugs. |
Had the same issue with ironware_config as well. Removing the check_mode solved it for me. |
We are having the same issue with the iOS_config module, we cannot use check mode with it. looks like 2.8 broke something. regression testing.....? |
This is affecting all of the "network" modules... It is a quick and easy fix and I will get a PR submitted by end of the day to fix. |
I don't know how to proceed to have this fix backported to stable-2.8 branch the same as #63283 for stable-2.9 I have different issues in 2.7 and 2.8 that prevents me from doing exactly what I want, and as 2.9 is not an option yet, I'm stuck :( |
SUMMARY
Playbooks with the presence of nxos_config module parameter 'backup' crashes with KeyError.
ISSUE TYPE
COMPONENT NAME
nxos_config
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Ansible: CentOS Linux release 7.6.1810
Remote: Cisco Nexus9000
STEPS TO REPRODUCE
EXPECTED RESULTS
Clean execution without errors.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: