What ansible-runner / receptor versions does AWX (21.3.0) use?

183 views
Skip to first unread message

stefan....@gmail.com

unread,
Aug 2, 2022, 11:01:44 AM8/2/22
to AWX Project
Hi,

I am playing around with AWX and tring to understand how things work. I am experimenting with the docker-compose version and trying to get an outside receptor node working.

I think I have an issue where I am using a bad receptor or ansible-runner version.
When updating a inventory on the outside execution node nothing is updated.

After some debugging I see that receptor or ansible runner is dumping (AWX_CLEANUP_PATHS = False)

the following directory structure:
When it is run inside docker

/tmp/awx_19992_r5n3y29c/artifacts/19992/output.json

when it is the outside node:

/tmp/awx_19992_r5n3y29c/artifacts/output.json 

So I edited the code to reflect this. 



expected_output = os.path.join(private_data_dir, 'artifacts', str(inventory_update.id), 'output.json') 
if not os.path.exists(expected_output): 
   expected_output = os.path.join(private_data_dir, 'artifacts', 'output.json') with open(expected_output) as f:


But what is wrong on the outside node since awx expect the str(inventory_update.id) in the path. I suspect an old( or new) ansible runner/receptor combo that is causing this.

Anyone that can help?

Stefan Coussens

unread,
Aug 2, 2022, 2:05:13 PM8/2/22
to AWX Project
Problem solved. It was the ansible-runner version. (git version instead of pypi)

--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/84d333ab-5c69-486a-a722-4a517c7f1369n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages