I am trying to get AWX to use my OVIRT installation as an inventory. With both the latest AWX operator and develop, I am running into the following error:
config file = None
configured module search path = [‘/home/runner/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’]
ansible python module location = /usr/local/lib/python3.8/site-packages/ansible
ansible collection location = /home/runner/.ansible/collections:/usr/share/ansible/collections:/usr/share/automation-controller/collections
executable location = /usr/local/bin/ansible-inventory
python version = 3.8.6 (default, Jan 29 2021, 17:38:16) [GCC 8.4.1 20200928 (Red Hat 8.4.1-1)]
jinja version = 2.10.3
libyaml = True
No config file found; using defaults
[WARNING]: * Failed to parse /runner/inventory/ovirt.yml with auto plugin:
inventory config ‘/runner/inventory/ovirt.yml’ specifies unknown plugin ‘ovirt’
File “/usr/local/lib/python3.8/site-packages/ansible/inventory/manager.py”, line 290, in parse_source
plugin.parse(self._inventory, self._loader, source, cache=cache)
File “/usr/local/lib/python3.8/site-packages/ansible/plugins/inventory/auto.py”, line 53, in parse
raise AnsibleParserError(“inventory config ‘{0}’ specifies unknown plugin ‘{1}’”.format(path, plugin_name))
[WARNING]: Unable to parse /runner/inventory/ovirt.yml as an inventory source
ERROR! No inventory was parsed, please check your configuration and options.
As far as I can tell, ovirt is included in the container:
bash-4.4$ ls -la /usr/share/ansible/collections/ansible_collections/
total 0
drwxr-xr-x. 13 root root 178 Sep 6 12:05 .
drwxr-xr-x. 3 root root 33 Sep 6 12:04 …
drwxr-xr-x. 3 root root 17 Sep 6 12:05 amazon
drwxr-xr-x. 4 root root 34 Sep 6 12:05 ansible
drwxr-xr-x. 3 root root 17 Sep 6 12:05 awx
drwxr-xr-x. 3 root root 26 Sep 6 12:05 azure
drwxr-xr-x. 3 root root 20 Sep 6 12:05 community
drwxr-xr-x. 3 root root 19 Sep 6 12:05 google
drwxr-xr-x. 3 root root 18 Sep 6 12:05 kubernetes
drwxr-xr-x. 3 root root 19 Sep 6 12:05 openstack
drwxr-xr-x. 3 root root 19 Sep 6 12:05 ovirt
drwxr-xr-x. 3 root root 22 Sep 6 12:05 redhatinsights
drwxr-xr-x. 3 root root 21 Sep 6 12:05 theforeman
So it doesn’t look like I should rebuild the container.
It seems to happen with most awx-ee versions, as I tried:
0.1.1
0.6.0
devel
latest
It seems to be similar to this:
https://github.com/ansible/awx/issues/9746
But I would be surprised if that is the case with a sister project like ovirt.
At this point, I am not sure about my next steps, so I would appreciate some direction on this.