vyos / vyos.vyos

Ansible Network Collection for VyOS
GNU General Public License v3.0
69 stars 62 forks source link

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

Closed akritimishra21 closed 2 months ago

akritimishra21 commented 11 months ago
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
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 commented 11 months ago

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

andamasov commented 2 months ago

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