vyos.vyos icon indicating copy to clipboard operation
vyos.vyos copied to clipboard

Access issue for VYOS and network packages from Ansible Galaxy

Open akritimishra21 opened this issue 1 year ago • 1 comments

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

akritimishra21 avatar Oct 10 '23 08:10 akritimishra21

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

roverflow avatar Oct 12 '23 07:10 roverflow

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

andamasov avatar Jul 05 '24 12:07 andamasov