thanks for providing logs!
2023-06-08 12:24:14,254 INFO [13548cf736a94d578debd84485cae396] awx.analytics.job_lifecycle job-521 pre run
2023-06-08 12:24:16,112 INFO [13548cf736a94d578debd84485cae396] awx.analytics.job_lifecycle job-521 preparing playbook
2023-06-08 12:24:16,213 INFO [13548cf736a94d578debd84485cae396] awx.analytics.job_lifecycle job-521 running playbook
then a minute later
2023-06-08 12:25:30,054 INFO [13548cf736a94d578debd84485cae396] awx.analytics.job_lifecycle job-521 work unit id received
2023-06-08 12:25:30,084 INFO [13548cf736a94d578debd84485cae396] awx.analytics.job_lifecycle job-521 work unit id assigned
between those log statements, AWX is building up the private data dir. In this period of time it copies over project files, playbook variables, and inventory hosts file over to a temporary directory (located on /tmp). It then zips up this directory and submits it to receptor, and then receptor spins up the automation job pod and starts running the playbook.
Generally speaking, a copy of the project files are already stored on that node in the project folder (which can optionally be mounted in with persistent projects). So unless the control node is brand new, of the project persistence dir is being cleaned up for some reason, then the controller node should already have these files. Copying them over shouldn't take too much time.
There are a couple of reasons why this part could be slow
1. You are specifying an scm_branch/tag override for your job template or inventory source.
2. The project is massive in size and takes a while to copy over.
What is the delay between "running playbook" log and "work unit id received" for the Demo Job Template? Run it a few times in a row and then report the times of the last run.
AWX Team