awx-ee
awx-ee copied to clipboard
Ovirt collection installation is broken
Hi,
in awx-ee:21.11.0
the collections look like:
sh-4.4$ ls -la /usr/share/ansible/collections/ansible_collections/
total 0
drwxr-xr-x. 13 root root 178 Jan 23 12:07 .
drwxr-xr-x. 3 root root 33 Jan 23 12:06 ..
drwxr-xr-x. 3 root root 17 Jan 23 12:07 amazon
drwxr-xr-x. 4 root root 34 Jan 23 12:07 ansible
drwxr-xr-x. 3 root root 17 Jan 23 12:07 awx
drwxr-xr-x. 3 root root 26 Jan 23 12:07 azure
drwxr-xr-x. 3 root root 20 Jan 23 12:07 community
drwxr-xr-x. 3 root root 19 Jan 23 12:06 google
drwxr-xr-x. 3 root root 18 Jan 23 12:06 kubernetes
drwxr-xr-x. 3 root root 19 Jan 23 12:06 openstack
drwxr-xr-x. 3 root root 19 Jan 23 12:07 ovirt
drwxr-xr-x. 3 root root 22 Jan 23 12:06 redhatinsights
drwxr-xr-x. 3 root root 21 Jan 23 12:07 theforeman
but in 21.12.0
and latest
it looks like:
sh-5.1$ ls -la /usr/share/ansible/collections/ansible_collections/
total 4
drwxr-xr-x. 23 root root 4096 Feb 16 00:17 .
drwxr-xr-x. 3 root root 33 Feb 16 00:16 ..
drwxr-xr-x. 3 root root 20 Feb 16 00:17 @NAMESPACE@
drwxr-xr-x. 3 root root 17 Feb 16 00:17 amazon
drwxr-xr-x. 2 root root 24 Feb 16 00:17 amazon.aws-5.2.0.info
drwxr-xr-x. 4 root root 34 Feb 16 00:17 ansible
drwxr-xr-x. 2 root root 24 Feb 16 00:17 ansible.posix-1.5.1.info
drwxr-xr-x. 2 root root 24 Feb 16 00:17 ansible.windows-1.13.0.info
drwxr-xr-x. 3 root root 17 Feb 16 00:17 awx
drwxr-xr-x. 2 root root 24 Feb 16 00:17 awx.awx-21.12.0.info
drwxr-xr-x. 3 root root 26 Feb 16 00:17 azure
drwxr-xr-x. 2 root root 24 Feb 16 00:17 azure.azcollection-1.14.0.info
drwxr-xr-x. 3 root root 20 Feb 16 00:17 community
drwxr-xr-x. 3 root root 19 Feb 16 00:17 google
drwxr-xr-x. 2 root root 24 Feb 16 00:17 google.cloud-1.1.2.info
drwxr-xr-x. 3 root root 18 Feb 16 00:17 kubernetes
drwxr-xr-x. 2 root root 24 Feb 16 00:17 kubernetes.core-2.4.0.info
drwxr-xr-x. 3 root root 19 Feb 16 00:17 openstack
drwxr-xr-x. 2 root root 24 Feb 16 00:17 openstack.cloud-2.0.0.info
drwxr-xr-x. 3 root root 22 Feb 16 00:17 redhatinsights
drwxr-xr-x. 2 root root 24 Feb 16 00:17 redhatinsights.insights-1.0.7.info
drwxr-xr-x. 3 root root 21 Feb 16 00:17 theforeman
drwxr-xr-x. 2 root root 24 Feb 16 00:17 theforeman.foreman-3.8.0.info
I don't know about the .info
files but the ovirt
directory is now missing and @NAMESPACE@
appeared which seems like some broken replacement. Also the @NAMESPACE@
directory seems to contain the missing ovirt collection.
sh-5.1$ ls -la /usr/share/ansible/collections/ansible_collections/\@NAMESPACE\@/\@NAME\@/
total 200
drwxr-xr-x. 13 root root 4096 Feb 16 00:17 .
drwxr-xr-x. 3 root root 20 Feb 16 00:17 ..
drwxr-xr-x. 2 root root 39 Feb 16 00:17 .automation
drwxr-xr-x. 2 root root 30 Feb 16 00:17 .config
drwxr-xr-x. 2 root root 22 Feb 16 00:17 .copr
-rw-r--r--. 1 root root 320 Feb 16 00:17 .editorconfig
drwxr-xr-x. 4 root root 63 Feb 16 00:17 .github
-rw-r--r--. 1 root root 116 Feb 16 00:17 .gitignore
-rw-r--r--. 1 root root 35847 Feb 16 00:17 CHANGELOG.rst
-rw-r--r--. 1 root root 100072 Feb 16 00:17 FILES.json
-rw-r--r--. 1 root root 856 Feb 16 00:17 MANIFEST.json
-rw-r--r--. 1 root root 342 Feb 16 00:17 README-developers.md
-rw-r--r--. 1 root root 924 Feb 16 00:17 README.md
-rw-r--r--. 1 root root 2503 Feb 16 00:17 README.md.in
-rw-r--r--. 1 root root 279 Feb 16 00:17 bindep.txt
-rwxr-xr-x. 1 root root 2222 Feb 16 00:17 build.sh
drwxr-xr-x. 3 root root 81 Feb 16 00:17 changelogs
drwxr-xr-x. 3 root root 58 Feb 16 00:17 examples
drwxr-xr-x. 2 root root 55 Feb 16 00:17 licenses
drwxr-xr-x. 2 root root 82 Feb 16 00:17 meta
-rw-r--r--. 1 root root 17521 Feb 16 00:17 ovirt-ansible-collection.spec.in
drwxr-xr-x. 9 root root 121 Feb 16 00:17 plugins
-rw-r--r--. 1 root root 44 Feb 16 00:17 requirements.txt
drwxr-xr-x. 12 root root 4096 Feb 16 00:17 roles
drwxr-xr-x. 3 root root 38 Feb 16 00:17 tests
This breaks inventory sync when using rhv/ovirt in awx because it cannot find the plugin.
oVirt 3.1.0 includes @shanemcd'd PR which fixes bindep.
https://github.com/oVirt/ovirt-ansible-collection/pull/657
Can probably revert to using the ovirt.ovirt
package from Galaxy now.