Unable to sync dynamic inventory python script

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

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

I see this issue https://github.com/ansible/awx-operator/issues/796

It’s still being tracked / investigated by the team

Seth