On Thu, Nov 28, 2019 at 5:33 PM Nathanaël Blanchet <blanchet@abes.fr> wrote:


Le 28/11/2019 à 17:15, Gianluca Cecchi a écrit :
On Thu, Nov 28, 2019 at 4:59 PM Nathanaël Blanchet <blanchet@abes.fr> wrote:

Hello gianluca,

I reported this issue a long time ago (march of 19) in an unofficial rpm awx project

https://github.com/MrMEEE/awx-build/issues/72


But I see that it is marked as closed....
It's marked as closed for the unofficial RPM project only, not with the regular container deployment.

All related RHV/ovirt stuff (not only dynamic inventory, but all ovirt* ansible module) fail because of the version of pycurl (worked before 7.19)

You mean inside awx container, correct?
See below my comments, as I know almost nothing about venv concepts... sorry

What you need to do is create a py2.x venv then recompile latest pycurl with nss support like this:

  • # /opt/rh/rh-python36/root/usr/bin/awx-create-venv (-e /var/lib/awx/venv/) -n ovirt
I have to run this inside awx container as user root? Can you explain the syntax? I get error because of the parenthesis...

sure inside the container, parenthesis are the default parameters so you can use an other path:

/opt/rh/rh-python36/root/usr/bin/awx-create-venv -n ovirt -p 2


In my awx container I don't have  /opt/rh/rh-python36/root/usr/bin/awx-create-venv and don't have awx-create-venv at all in any path.
Not in container based on image ansible/awx_task:9.0.1 nor in container based on image ansible/awx_web:9.0.1

Gianluca