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

Access issue for VYOS and network packages from Ansible Galaxy #334

Closed
akritimishra21 opened this issue Oct 10, 2023 · 2 comments
Closed

Comments

@akritimishra21
Copy link

akritimishra21 commented Oct 10, 2023

SUMMARY

From Oct 1, our AWX project sync failed with below error :

Error:

"HEAD is now at 66619173 Release 4.2.0.",
    "[WARNING]: Skipping Galaxy server https://galaxy.ansible.com/api/. Got an",
    "unexpected error when getting available versions of collection vyos.vyos: '/api",
    "/v3/plugin/ansible/content/published/collections/index/vyos/vyos/versions/'",
    "ERROR! Unexpected Exception, this is probably a bug: '/api/v3/plugin/ansible/content/published/collections/index/vyos/vyos/versions/'"
 The same error was reported while installing its dependencies as well.

Error:

HEAD is now at f7ff970 Update changelog for 4.1.0 (#327)
[WARNING]: Skipping Galaxy server https://galaxy.ansible.com/api/. Got an unexpected error when getting available versions of collection
ansible.netcommon: '/api/v3/plugin/ansible/content/published/collections/index/
ansible/netcommon/versions/'
ERROR! Unexpected Exception, this is probably a bug: '/api/v3/plugin/ansible/content/published/collections/index/ansible/netcommon/versions/'

While rest collections downloading was working fine like community.general and Kubernetes.core was working fine
Starting collection install process

Downloading https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/community-kubernetes-2.0.1.tar.gz to /var/lib/awx/projects/.__awx_cache/*****/community-kubernetes-2.0.1-lq6p_c62
Installing 'community.kubernetes:2.0.1' to '/var/lib/awx/projects/.__awx_cache/*****/stage/requirements_collections/ansible_collections/community/kubernetes'
community.kubernetes:2.0.1 was installed successfully
Installing 'community.general:3.6.0' to '/var/lib/awx/projects/.__awx_cache/*****/stage/requirements_collections/ansible_collections/community/general'
Created collection for community.general:3.6.0 at /var/lib/awx/projects/.__awx_cache/*****/stage/requirements_collections/ansible_collections/community/general
community.general:3.6.0 was installed successfully
Downloading https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/kubernetes-core-2.4.0.tar.gz to /var/lib/awx/projects/.__awx_cache/*****/stage/tmp/ansible-local-179588mc6s_gme/tmpv995sca8/kubernetes-core-2.4.0-lg3e6zda
Installing 'kubernetes.core:2.4.0' to '/var/lib/awx/projects/.__awx_cache/*****/stage/requirements_collections/ansible_collections/kubernetes/core'
kubernetes.core:2.4.0 was installed successfully
ISSUE TYPE
  • Bug Report
COMPONENT NAME

Vyos.vyos collection and its dependency

ANSIBLE VERSION

AWX 22.1.0

COLLECTION VERSION
tried with 4.2.0 and 3.6.0
STEPS TO REPRODUCE

ansible-galaxy collection install -r /var/lib/awx/projects/***/collections/requirements.yml --collections-path /var/lib/awx/projects/.__awx_cache/****/stage/requirements_collections

EXPECTED RESULTS

Vyos.vyos and its dependent collection should be available

@roverflow
Copy link
Contributor

@akritimishra21 This is probably an awx or galaxy issue, please write an issue over at awx

@roverflow roverflow removed their assignment Jul 5, 2024
@andamasov
Copy link
Member

This was a bug in Galaxy client, which is solved now
Thanks for letting us know @NilashishC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants