samba-in-kubernetes / sit-environment

SIT (Samba Integration Testing) Framework
GNU General Public License v3.0
1 stars 7 forks source link

sit.glusterfs: Install ansible collections with `--no-cache` #46

Closed anoopcs9 closed 1 year ago

anoopcs9 commented 1 year ago

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 from gluster-ansible-infra and fix for the above error is only available from v2.12.8. 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.

anoopcs9 commented 1 year ago

/retest centos-ci/xfs