-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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 output is cut due to kubernetes container log rotation #13376
Comments
@kzinas-adv Thanks for reporting this, given the upvotes on this issue seems like others are hitting this problem as well. |
@fosterseth Could you please take a look as a matter of priority. |
@kzinas-adv are you still experiencing issues around this? |
Nop with awx 22.0.0 everything went fine. |
Nop it still wrong, today we got failed task , but did not found any issue in awx playbook output and it was cut:
Please reopen issue. It is with awx 22.0.0 |
Please confirm the following
Bug Summary
After fix ansible/receptor#683 job will not fail, but it outputs to AWX only first ant last log from rotation.
k8s 1.25.4-do.0
AWX 21.10.1
receptor 1.3.0
Fix enabled
Time: 22:04:32 -> 00:11:31
Playbook run: 0:01:40.151 -> 2:08:39.984
Time: 01:39:55 -> 01:59:38
Playbook run: 0:08:04.813 -> 0:27:48.142
AWX version
21.10.1
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
2.12.5
Operating system
Ubuntu
Web browser
No response
Steps to reproduce
On K8S Run any longer job with enough output to reach 21Mb (I assume default k8s container log size is 10MB).
https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/ says it is 10MB
--container-log-max-size string Default: 10Mi
You should get first 10MB in https://awx.com/api/v2/jobs/99999/stdout/ and then last 1MB.
Expected results
Get all output.
Actual results
Cut output, only from first logrotate file and last one.
Additional information
No response
The text was updated successfully, but these errors were encountered: