-
Notifications
You must be signed in to change notification settings - Fork 60
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
[BUG]: sonic_vrfs module doesn't work with the "state: overridden" #292
Comments
@kerry-meyer can you take a look and re-assign as necessary? |
Please append to this issue the output from the following command: cat /home/guertinf/.ansible/collections/ansible_collections/dellemc/enterprise_sonic/MANIFEST.json |
|
The fix was mergered by #285 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
this ansible task, similar to the one in documentation", fails
with this message
fatal: [dell-sonic]: FAILED! => {
"changed": false,
"module_stderr": "argument of type 'NoneType' is not iterable",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"
}
The same task is working with the state set to deleted or merged.
Product Name
Dell Enterprise Sonic
Component or Module Name
dellemc.enterprise_sonic.sonic_vrfs
DellEMC Enterprise SONiC Ansible Collection Version
dellemc.enterprise_sonic 2.2.0
SONiC Software Version
Software Version : 4.1.0-Edge_Standard
Configuration
CONFIG_FILE() = /home/guertinf/reseautique-CQ/ansible.cfg
DEFAULT_HOST_LIST(/home/guertinf/reseautique-CQ/ansible.cfg) = ['/home/guertinf/reseautique-CQ/inventory']
DEFAULT_ROLES_PATH(/home/guertinf/reseautique-CQ/ansible.cfg) = ['/home/guertinf/reseautique-CQ/roles']
PARAMIKO_HOST_KEY_AUTO_ADD(/home/guertinf/reseautique-CQ/ansible.cfg) = True
PERSISTENT_CONNECT_TIMEOUT(/home/guertinf/reseautique-CQ/ansible.cfg) = 120
Steps to Reproduce
The ansible playbook
and this role/task
See the result in the log boxe.
Expected Behavior
The sonic_vrfs module works fine with the staes "merged" and "deleted". The vrf is created or remove as expected.
Actual Behavior
It crashes with the state "overridden" with the message
Logs
Screenshots
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: