-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backend_setup role fails with ansible-core 2.13.3 and Python 3.9 #135
Comments
It seems like a regression with Ansible v2.12 was helping us hide this issue till it was fixed with v2.13. Quoting some points from various related issues from Ansible:
Therefore we must refrain from using Issue references: ansible/ansible#77004, ansible/ansible#76443 |
See gluster/gluster-ansible-infra#135 for more details. Revert previous change which updated pip executable from 3.8 to 3.9 as Ansible v2.12.x is still built with Python 3.8.
…y and from its returning as string. Actually the orignal behaviour of this function is to return string but in ansible 2.12 was a mistake i guess. Now in ansible 2.13 the original behaviour is back so we don't need to use to_json Refer Doc: ansible/ansible#76443 (comment) Bug:- gluster#135
This makes it so oVirt 4.5.4 with ovirt-node-ng-installer-latest-el8.iso (currently links to 4.5.4-2022120615) won't install. |
Until #136 is merged: sed -i 's/output | to_json/output/' /etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/get_vg_groupings.yml
sed -i 's/output | to_json/output/' /etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/thick_lv_create.yml
sed -i 's/output | to_json/output/' /etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/thin_pool_create.yml
sed -i 's/output | to_json/output/' /etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/thin_volume_create.yml |
Recently the following error is seen while trying to install ansible collections: [WARNING]: Skipping Galaxy server https://galaxy.ansible.com/api/. Got an unexpected error when getting available versions of collection community.general: '/api/v3/plugin/ansible/content/published/collections/index/community/general/versions/' ERROR! Unexpected Exception, this is probably a bug: '/api/v3/plugin/ansible/content/published/collections/index/community/general/versions/' We are already stuck with ansible version from 2.12.x series due to another issue[1] from gluster-ansible-infra and fix for the above error is only available from v2.12.8[2]. Given that the fixed version is out for a while and updates are not yet released via repositories we could only keep it running with a workaround of disabling the cache while fetching the versions for a particular collection as described in upstream issue[3]. [1] gluster/gluster-ansible-infra#135 [2] ansible/ansible#81830 (comment) [3] ansible/ansible#77911 (comment) Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
Recently the following error is seen while trying to install ansible collections: [WARNING]: Skipping Galaxy server https://galaxy.ansible.com/api/. Got an unexpected error when getting available versions of collection community.general: '/api/v3/plugin/ansible/content/published/collections/index/community/general/versions/' ERROR! Unexpected Exception, this is probably a bug: '/api/v3/plugin/ansible/content/published/collections/index/community/general/versions/' We are already stuck with ansible version from 2.12.x series due to another issue[1] from gluster-ansible-infra and fix for the above error is only available from v2.12.8[2]. Given that the fixed version is out for a while and updates are not yet released via repositories we could only keep it running with a workaround of disabling the cache while fetching the versions for a particular collection as described in upstream issue[3]. [1] gluster/gluster-ansible-infra#135 [2] ansible/ansible#81830 (comment) [3] ansible/ansible#77911 (comment) Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
Unavailability of complete gluster-ansible packages and limitation[1] to use latest ansible versions forces us to setup GlusterFS cluster using older versions on CentOS 8 platform. [1] gluster/gluster-ansible-infra#135 Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
Unavailability of complete gluster-ansible packages and limitation[1] to use latest ansible versions forces us to setup GlusterFS cluster using older versions on CentOS 8 platform. [1] gluster/gluster-ansible-infra#135 Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
Unavailability of complete gluster-ansible packages and limitation[1] to use latest ansible versions forces us to setup GlusterFS cluster using older versions on CentOS 8 platform. [1] gluster/gluster-ansible-infra#135 Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
Unavailability of complete gluster-ansible packages and limitation[1] to use latest ansible versions forces us to setup GlusterFS cluster using older versions on CentOS 8 platform. [1] gluster/gluster-ansible-infra#135 Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
Fixed by #136 |
We have been noticing the following failure since the update to ansible 2.13.3 with its dependency on Python 3.9 on CentOS Stream 8:
The text was updated successfully, but these errors were encountered: