ansible / awx

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.89k stars 3.4k forks source link

AWX does not send Job finish message to awx command line tool #9138

Open stanislaw55 opened 3 years ago

stanislaw55 commented 3 years ago
ISSUE TYPE
SUMMARY

When running Jobs via awx command line tool with --wait flag, awx process never finishes. Job in AWX is long finished but awx tool is still waiting.

This bug was not present on version 13.0.0

ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS

awx process to exit when Job finishes, either successfully or not

ACTUAL RESULTS

AWX server does not signal that Job is completed and awx process is waiting indefinitely

ADDITIONAL INFORMATION
blomquisg commented 3 years ago

Does this happen every time with this job? Are there any more details you can share about the job?

And, does the job show finished in the web UI?

stanislaw55 commented 3 years ago

Hi @blomquisg yes, it happens every time. Not only with one job but with more of them (maybe all but I did not dare to test it). Job is finished in UI, either as a failed or successful.

stanislaw55 commented 3 years ago

Recently I've seen that really fast jobs (~3 minutes) are sending events to awx commandline tool. It may be something related to my environment, I'll investigate further.