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.
Recently the following error is seen while trying to install ansible collections:
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.