AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
13.5k
stars
3.34k
forks
source link
awx modules wait on event processing finished #15152
This change makes "wait: true" for jobs and syncs look at the event_processing_finished instead of finished field.
Right now there is a race condition where a module might try to delete an inventory, but the events for an inventory sync have not yet finished. We have a RelatedJobsPreventDeleteMixin that checks for this condition.
SUMMARY
related https://github.com/ansible/awx/issues/15063
This change makes "wait: true" for jobs and syncs look at the event_processing_finished instead of finished field.
Right now there is a race condition where a module might try to delete an inventory, but the events for an inventory sync have not yet finished. We have a RelatedJobsPreventDeleteMixin that checks for this condition.
ISSUE TYPE
COMPONENT NAME