Unable to sync dynamic inventory python script

69 views
Skip to first unread message

Vibin K Madampath

unread,
Apr 25, 2022, 9:23:41 AM4/25/22
to AWX Project
Hello Team,

I've added a python script to pull dynamic inventory in inventory sources but when I try to sync am getting below error message.

[Warning]: * Failed to parse /runner/project/dyinv.py with script plugin: problem running /runner/project/dyinv.py --list ([Errno 13] Permission denied: '/runner/project/dyinv.py')

I see this is a known bug in 19.4.0 and 19.5.0 but am seeing this error on 19.2.0 and 20.0.1. Is this a bug on these versions as well ??

If not, is there any solution or workaround for this?

How do I give executable permission to the python script which is uploaded from the inventory source ?

Any help would be appreciated.

Regards,
Vibin

Seth Foster

unread,
Apr 27, 2022, 3:47:40 PM4/27/22
to AWX Project
Hi,

are you creating this project manually, or is it being pulled from a scm-based project?

Also, do you happen to the have links to the known issues in 19.4.0 and 19.5.0?

Thank you!

Seth

Seth Foster

unread,
Apr 27, 2022, 3:51:40 PM4/27/22
to AWX Project
I see this issue https://github.com/ansible/awx-operator/issues/796

It's still being tracked / investigated by the team

Seth

Reply all
Reply to author
Forward
0 new messages