-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Jobs with a lot of output/hosts stops with status "Error" #12685
Comments
Issue still present in 21.5.0 |
Same with AWX 19.4.0 |
I'm experiencing the same issue. |
This could be ansible/ansible-runner#998 |
@AdityaVishwekar @DaDenniX @CWollinger the log rotation issue is not the logs from the awx-task container, rather the automation-job* pod that the job itself is running in you'll want to make sure your docker max container size is > how much this playbook is supposed to output when this problem occurs, do you see the automation-job pod hanging out, or does it get cleaned up? AWX Team |
automation-job pod gets cleaned up. Where is the configuration to set docker container size for this pod? |
This sounds like either the timeout issue or log rotation issue we are hoping to address with this PR ansible/receptor#683 @AdityaVishwekar you can change the log rotation size with the docker config, see my comment here on how I did it with minikube, but other k8s clusters might be slightly different |
We are also facing this issue with v 21.1.0 Is there any workaround to fix this? |
hello, seems i got the same problem with AWX-EE 22.4.0. The web version is quite older: AWX 20.0.1 But the automation images completes: kubectl -n awx logs -f automation-job-1779-pzf2w
Is there any timeline for this bug ? |
I'm here with updates for you |
@EsDmitrii things still seeming to work perfectly? |
Hi! |
Is it the same hosts/jobs that fail each time for you? Or it changes? |
Hi, sorry for the late response |
Hi all! |
Please confirm the following
Bug Summary
Hi there,
I have two different playbooks:
Both jobs end with status "Error". After some research and investigating (I really don't have any experience with Kubernetes) I found out, that the worker container in the automation-pod (automation-job-xxxx-yyyyy) stops producing logs (so the output in AWX GUI will also freeze).
The job then still runs some time after the freezing output, but after a few minutes the job failed in status "Error".
It seems to be, that it has nothing to do with the rotating log size (10 MB) I read here on existing issues, because the current logfile has only 6 MB.
The logfile of awx_task said:
2022-08-18T14:59:40.239996397+02:00 stderr F 2022-08-18 12:59:40,239 WARNING [008db9d212c94a569aabe6fac548d42d] awx.main.dispatch job 1018 (error) encountered an error (rc=None), please see task stdout for details.
Our settings in AWX are:

I really don't have a clue what is causing this error. But we really need those playbooks working :-(
AWX version
21.4.0
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
No response
Operating system
No response
Web browser
Firefox
Steps to reproduce
Create a playbook with 4-5 tasks and start them on over 500 hosts. For example:
Expected results
Get the facts of all hosts and put the OS information in one csv file on somehost
Actual results
Job failed with status "Error"
Additional information
No response
The text was updated successfully, but these errors were encountered: