Edvinas Kairys
unread,Jul 4, 2023, 10:06:18 AM7/4/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AWX Project
Hello,
I've a question, my AWX playbooks with modules nxos_commands and iosxr_commands started to fail ~10days ago. I'm using AWX version 20.0.1 with new custom built EE. When i'm trying to switch to and older custom EE the playbooks starts to work. The errors i'm getting is like these:
The full traceback is:
File "/runner/requirements_collections/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/iosxr.py", line 122, in get_capabilities
capabilities = Connection(module._socket_path).get_capabilities()
File "/usr/local/lib/python3.9/site-packages/ansible/module_utils/connection.py", line 200, in __rpc__
raise ConnectionError(to_text(msg, errors='surrogate_then_replace'), code=code)
fatal: [HK2ASR01]: FAILED! => {
"changed": false,
"failed_when_result": "The conditional check 'get_config.stdout[0] is not search(\\"\\\\/32\\") or get_config.stdout[1] is not search(\\"\\\\/128\\")' failed. The error was: error while evaluating conditional (get_config.stdout[0] is not search(\\"\\\\/32\\") or get_config.stdout[1] is not search(\\"\\\\/128\\")): 'dict object' has no attribute 'stdout'. 'dict object' has no attribute 'stdout'",
"invocation": {
"module_args": {
"commands": [
"show object-group network ipv4 External_Monitoring | include /32",
"show object-group network ipv6 External_Monitoring_IPv6 | include /128"
],
"interval": 1,
"match": "all",
"retries": 10,
"wait_for": null
}
},
"msg": "command timeout triggered, timeout value is 30 secs.\\nSee the timeout setting options in the Network Debug and Troubleshooting Guide."
OR
ok: [TEONET01A] => {"changed": false, "failed_when_result": false, "msg": "command timeout triggered, timeout value is 30 secs.\\nSee the timeout setting options in the Network Debug and Troubleshooting Guide."}
seems like it's something with Python. The older EE is using Python 3.8, and the newer one - Python 3.9. Could it be the reason ? Isn't the EE enviroment is independent of the whole AWX ?