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

AWX Tasks hanging on ansible.utils.cli_parse >= 5.1.0 #382

Open
bewing opened this issue Oct 24, 2024 · 0 comments
Open

AWX Tasks hanging on ansible.utils.cli_parse >= 5.1.0 #382

bewing opened this issue Oct 24, 2024 · 0 comments
Assignees

Comments

@bewing
Copy link

bewing commented Oct 24, 2024

SUMMARY

AWX Tasks running ansible.utils.cli_parse are hanging

ISSUE TYPE
  • Bug Report
COMPONENT NAME

ansible.utils.cli_parse

ANSIBLE VERSION
ansible [core 2.17.5]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.11/site-packages/ansible
  ansible collection location = /runner/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.11.10 (main, Sep  9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.11)
  jinja version = 3.1.4
  libyaml = True

COLLECTION VERSION
# /usr/share/ansible/collections/ansible_collections
Collection    Version
------------- -------
ansible.utils 5.1.0
CONFIGURATION

CONFIG_FILE() = /etc/ansible/ansible.cfg
DISPLAY_SKIPPED_HOSTS(/etc/ansible/ansible.cfg) = False

OS / ENVIRONMENT

awx-operator 2.19.1
AWX 24.6.1

STEPS TO REPRODUCE

We have several extremely large AWX jobs that collect information from the CLI and push new configs to switch devices. After upgrading from ansible.utils 5.0.0 to 5.1.0 and 5.1.2, jobs occasionally hang indefinitely, not producing anymore job output. The last log output of every hung job contains "task_action": "ansible.utils.cli_parse"

Producing the same AWX EE image, but with ansible.utils==5.0.0, no jobs hang.

I will see if I can produce a publishable test case, but it may take some time. I did want to get this recorded in case any other operators are seeing similar issues.

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

2 participants