On Tue, Dec 3, 2019 at 3:02 PM Nathanaël Blanchet <blanchet@abes.fr> wrote:
Great, I hope Gianluca will be able to sync with the container version!


Unfortunately not yet.
When running with the new virtual env I get:

    2.352 INFO     Updating inventory 4: MYDC_OVIRT
    2.825 INFO     Reading Ansible inventory source: /var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/plugins/inventory/ovirt4.py
Traceback (most recent call last):
  File "/var/lib/awx/venv/awx/bin/awx-manage", line 11, in <module>
    load_entry_point('awx==9.0.1.0', 'console_scripts', 'awx-manage')()

...
  File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py", line 101, in build_env
    for version in os.listdir(venv_libdir):
FileNotFoundError: [Errno 2] No such file or directory: '/opt/my-envs/ovirt/lib'

But I have this:

bash-4.4# ls -l /opt/my-envs/ovirt/
total 4
drwxr-xr-x 2 root root 4096 Nov 30 11:20 bin
drwxr-xr-x 2 root root   23 Nov 30 10:56 include
drwxr-xr-x 3 root root   23 Nov 30 10:56 lib
lrwxrwxrwx 1 root root    3 Nov 30 10:56 lib64 -> lib
drwxr-xr-x 3 root root   17 Nov 30 11:07 share
bash-4.4# ls -l /opt/my-envs/ovirt/lib
total 4
drwxr-xr-x 4 root root 4096 Nov 30 10:56 python2.7
bash-4.4# 

What I'm missing in your opinion?
I don't understand the FileNotFoundError....
Thanks in advance,
Gianluca