Skip to content
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

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

Merged

Conversation

anoopcs9
Copy link
Collaborator

@anoopcs9 anoopcs9 commented Oct 6, 2023

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:

[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>
@anoopcs9
Copy link
Collaborator Author

anoopcs9 commented Oct 6, 2023

/retest centos-ci/xfs

@anoopcs9 anoopcs9 merged commit 8593fa1 into samba-in-kubernetes:main Oct 6, 2023
5 checks passed
@anoopcs9 anoopcs9 deleted the workaround-galaxy-install-error branch October 6, 2023 08:13
@anoopcs9 anoopcs9 changed the title sit.glusterfs: Install ansible collections with --no-cache sit.glusterfs: Install ansible collections with --no-cache Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants