Closed shaaga closed 4 months ago
The issue seems similar to what is mentioned in the following issue but the fix suggests downgradng execution env in AWX but my AWX version is 17.1.0 and it has no concept of execution env
https://github.com/ansible/awx/issues/14689 @gundalow , @Dustin-Wi @ZachHoiberg
I believe the underlying cause of my issue was that the execution environment I was using had a version of Ansible installed with this bug, and a new execution environment was created with a working version of ansible.
Do you have to use Ansible version 2.14.12? Can you try newer version?
I upgraded ansible-core version from 2.14.0 to 2.14.2 after which I started seeing the issue, although post upgrading ansible pip pkg as well from 7.0.0 to 8.5.0, the issue is resolved
SUMMARY
We have AWX v17.1.0 running and recently to fix a security item, we upgraded ansible-core from 2.14.0 to 2.14.12 for the ansible venv present in AWX containers at path /var/lib/awx/venv/ansible. Post upgrade, existing job templates which connects to Cisco switches started failing with below error.
We use v2.7.1 of ansible collection cisco_nxos
ISSUE TYPE
COMPONENT NAME
cisco_nxos
ANSIBLE VERSION
COLLECTION VERSION
STEPS TO REPRODUCE
Upgrade ansible-core for "/var/lib/awx/venv/ansible" virtual env in awx container from 2.14.0 to 2.14.12 and use cisco_nxos v2.7.1 and write a job template like below
EXPECTED RESULTS
ACTUAL RESULTS