Demo project

I am trying to get AWX set up in my environment and as a test we are trying to run the demo playbook against localhost basically. However in the logs we are seeing this:

2023-09-07 16:56:07,100 INFO [9be0120f404c42479269b40fd09cf54e] awx.main.commands.run_callback_receiver Starting EOF event processing for Job 8
2023-09-07 16:56:07,103 INFO [9be0120f404c42479269b40fd09cf54e] awx.analytics.job_lifecycle projectupdate-8 post run
2023-09-07 16:56:07,147 INFO [9be0120f404c42479269b40fd09cf54e] awx.analytics.job_lifecycle projectupdate-8 finalize run
2023-09-07 16:56:07,268 ERROR [9be0120f404c42479269b40fd09cf54e] awx.main.tasks.jobs job 7 (failed) Exception occurred while running task
Traceback (most recent call last):
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 492, in run
self.build_project_dir(self.instance, private_data_dir)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 1086, in build_project_dir
self.sync_and_copy(job.project, private_data_dir, scm_branch=job.scm_branch)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 783, in sync_and_copy
return self.sync_and_copy_without_lock(project, private_data_dir, scm_branch=scm_branch)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 739, in sync_and_copy_without_lock
sync_task.run(local_project_sync.id)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 92, in _wrapped
return f(self, *args, **kwargs)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/signals.py”, line 66, in _wrapped
return f(*args, **kwargs)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 657, in run
raise AwxTaskError.TaskError(self.instance, rc)
Exception: project_update 8 (failed) encountered an error (rc=None), please see task stdout for details.
2023-09-07 16:56:07,269 INFO [9be0120f404c42479269b40fd09cf54e] awx.analytics.job_lifecycle job-7 post run
2023-09-07 16:56:07,377 INFO [9be0120f404c42479269b40fd09cf54e] awx.analytics.job_lifecycle job-7 finalize run
2023-09-07 16:56:07,381 WARNING [9be0120f404c42479269b40fd09cf54e] awx.main.dispatch job 7 (error) encountered an error (rc=None), please see task stdout for details.
2023-09-07 16:56:07,936 INFO [-] awx.analytics.job_lifecycle projectupdate-8 stats wrapup finished
2023-09-07 16:56:10,600 INFO [-] awx.main.wsrelay Producer 10.42.0.13-job_events-7 has no subscribers, shutting down.
^[[A^[[A^[[A^B2023-09-07 16:57:36,090 INFO [-] awx.main.wsrelay Starting producer for 10.42.0.13-schedules-changed
2023-09-07 16:57:46,094 INFO [-] awx.main.wsrelay Producer 10.42.0.13-schedules-changed has no subscribers, shutting down.
2023-09-07 16:58:22,190 INFO [a1dd2286dafc46d2896950301010e4ac] awx.analytics.job_lifecycle job-9 waiting
2023-09-07 16:58:22,371 INFO [a1dd2286dafc46d2896950301010e4ac] awx.analytics.job_lifecycle job-9 pre run
2023-09-07 16:58:22,392 INFO [a1dd2286dafc46d2896950301010e4ac] awx.analytics.job_lifecycle projectupdate-10 created
2023-09-07 16:58:22,392 INFO [a1dd2286dafc46d2896950301010e4ac] awx.analytics.job_lifecycle projectupdate-10 controller node chosen
2023-09-07 16:58:22,393 INFO [a1dd2286dafc46d2896950301010e4ac] awx.analytics.job_lifecycle projectupdate-10 execution node chosen
2023-09-07 16:58:22,501 INFO [a1dd2286dafc46d2896950301010e4ac] awx.analytics.job_lifecycle projectupdate-10 pre run
2023-09-07 16:58:22,509 INFO [a1dd2286dafc46d2896950301010e4ac] awx.analytics.job_lifecycle projectupdate-10 preparing playbook
2023-09-07 16:58:22,539 INFO [a1dd2286dafc46d2896950301010e4ac] awx.analytics.job_lifecycle projectupdate-10 running playbook
2023-09-07 16:58:22,569 INFO [a1dd2286dafc46d2896950301010e4ac] awx.analytics.job_lifecycle projectupdate-10 work unit id received
2023-09-07 16:58:22,584 INFO [a1dd2286dafc46d2896950301010e4ac] awx.analytics.job_lifecycle projectupdate-10 work unit id assigned
2023-09-07 16:58:24,019 INFO [-] awx.main.wsrelay Starting producer for 10.42.0.13-job_events-9
2023-09-07 16:58:30,617 INFO [a1dd2286dafc46d2896950301010e4ac] awx.main.commands.run_callback_receiver Starting EOF event processing for Job 10
2023-09-07 16:58:30,621 INFO [a1dd2286dafc46d2896950301010e4ac] awx.analytics.job_lifecycle projectupdate-10 post run
2023-09-07 16:58:30,670 INFO [a1dd2286dafc46d2896950301010e4ac] awx.analytics.job_lifecycle projectupdate-10 finalize run
2023-09-07 16:58:30,782 ERROR [a1dd2286dafc46d2896950301010e4ac] awx.main.tasks.jobs job 9 (failed) Exception occurred while running task
Traceback (most recent call last):
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 492, in run
self.build_project_dir(self.instance, private_data_dir)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 1086, in build_project_dir
self.sync_and_copy(job.project, private_data_dir, scm_branch=job.scm_branch)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 783, in sync_and_copy
return self.sync_and_copy_without_lock(project, private_data_dir, scm_branch=scm_branch)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 739, in sync_and_copy_without_lock
sync_task.run(local_project_sync.id)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 92, in _wrapped
return f(self, *args, **kwargs)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/signals.py”, line 66, in _wrapped
return f(*args, **kwargs)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 657, in run
raise AwxTaskError.TaskError(self.instance, rc)
Exception: project_update 10 (failed) encountered an error (rc=None), please see task stdout for details.
2023-09-07 16:58:30,783 INFO [a1dd2286dafc46d2896950301010e4ac] awx.analytics.job_lifecycle job-9 post run
2023-09-07 16:58:30,897 INFO [a1dd2286dafc46d2896950301010e4ac] awx.analytics.job_lifecycle job-9 finalize run
2023-09-07 16:58:30,902 WARNING [a1dd2286dafc46d2896950301010e4ac] awx.main.dispatch job 9 (error) encountered an error (rc=None), please see task stdout for details.
2023-09-07 16:58:31,460 INFO [-] awx.analytics.job_lifecycle projectupdate-10 stats wrapup finished
2023-09-07 16:58:34,025 INFO [-] awx.main.wsrelay Producer 10.42.0.13-job_events-9 has no subscribers, shutting down.

Can anyone help?

Hello,
We would like to gather a bit more information from you.
Could you provide us with the API details of the project update?

  • AWX Team

We have some ideas of which job IDs might be the problem. Please provide the data from this location: /api/v2/project_updates/10/