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
Race condition when trying to delete inventory #15063
Labels
Comments
from @AlanCoding creating jobevent with invalid host is ok |
I would think the fix for this would be on the collection side NOT the api side. We just need to wait/retry. Maybe I could see API changes to return more context (i.e. the running job ids). Agreed? Other ideas? |
Since this has gone so long without getting fixed, we could use this chance to updated the wording here:
|
hopefully solved with the above PR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please confirm the following
[email protected]
instead.)Bug Summary
https://github.com/ansible/awx/blob/devel/awx/api/views/inventory.py#L74
which have the
RelatedJobsPreventDeleteMixin
which prevent deletion when job event processing are not completed https://github.com/ansible/awx/blob/devel/awx/api/views/mixin.py#L131
this cause flake in our CI
AWX version
awx: 24.1.1.dev24+gedd69123ed
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
No response
Operating system
No response
Web browser
No response
Steps to reproduce
run our CI repeatly and sometime it fails
https://github.com/TheRealHaoLiu/awx/actions/runs/8542600522/job/23404593232
Expected results
CI don't flake
Actual results
CI flakes
Additional information
No response
The text was updated successfully, but these errors were encountered: