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

Endless execution job #15703

Open
4 of 11 tasks
cyberrunner0 opened this issue Dec 12, 2024 · 2 comments
Open
4 of 11 tasks

Endless execution job #15703

cyberrunner0 opened this issue Dec 12, 2024 · 2 comments

Comments

@cyberrunner0
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

Bug Summary

Hello everyone!
I have a problem with the execution of job.
I have 239 hosts, some of them have OS Redhat version 7. On mashines with Redhat i need to run the command _ yum install ca-certificates_
After starting the job, I have a task Gathering Facts and it is infinite. It doesn't drop with errors, deosn't terminate on it's own, just an endless run of fact-gathering.
image

AWX version

AWX 21.11.0

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

openshift

Modifications

no

Ansible version

2.12

Operating system

Windows 10

Web browser

Chrome

Steps to reproduce

This is my playbook which i use
image

Expected results

Completing the job with the installation of certificates

Actual results

Endless job

Additional information

No response

@spaut33
Copy link
Contributor

spaut33 commented Jan 3, 2025

Hello Evgeniy,
have you tried setting a timeout for job execution aka task_timeout? There might be a potential bug in ansible core that causes fact gathering to become endless, even when the gather_timeout is set.

@cyberrunner0
Copy link
Author

Hello Evgeniy, have you tried setting a timeout for job execution aka task_timeout? There might be a potential bug in ansible core that causes fact gathering to become endless, even when the gather_timeout is set.

Hello Roman!
Yes, I tried to put settings for job execution timeouts. It also runs infinitely, but crashes on timeout.
I also found some sort of fix for this. If you select forks 1, you can find the host that gather_facts hangs on, it will be next in the list of hosts, after the successful host.
I realize this is not a solution to the problem, but it's at least something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants