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

unable to install collection error 404 #27

Open
slyguy-fr opened this issue Jan 23, 2025 · 0 comments
Open

unable to install collection error 404 #27

slyguy-fr opened this issue Jan 23, 2025 · 0 comments

Comments

@slyguy-fr
Copy link

slyguy-fr commented Jan 23, 2025

Hello ,

Everything was configured on the nexus side, ports were opened, added config to th eansible.cfg file but when I try to install I get the following.

(I have replaced my user name and server name for security policy)
[user@server_name ~]$ ansible-galaxy collection install dynatrace.event_driven_ansible -s https://prep-nexus-3.iad.ca.inet:8443/repository/ansiblegalaxy-proxy/ -vvvvvv

ansible-galaxy [core 2.15.3]

config file = /etc/ansible/ansible.cfg

configured module search path = ['/home/user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']

ansible python module location = /usr/lib/python3.11/site-packages/ansible

ansible collection location = /ansible/ansible_collections:/usr/share/ansible/collections

executable location = /usr/bin/ansible-galaxy

python version = 3.11.11 (main, Dec 9 2024, 15:32:27) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] (/usr/bin/python3.11)

jinja version = 3.1.2

libyaml = True

Using /etc/ansible/ansible.cfg as config file

Starting galaxy collection install process

Loading collection cloud.common from /usr/local/lib/python3.11/site-packages/ansible_collections/cloud/common

Found installed collection cloud.common:2.1.3 at '/usr/local/lib/python3.11/site-packages/ansible_collections/cloud/common'

Loading collection community.grafana from /usr/local/lib/python3.11/site-packages/ansible_collections/community/grafana

[snipped]...

Loading collection ansible.eda from /ansible/ansible_collections/ansible/eda

Found installed collection ansible.eda:1.4.5 at '/ansible/ansible_collections/ansible/eda'

Process install dependency map

Initial connection to galaxy_server: https://prep-nexus-3.iad.ca.inet:8443/repository/ansiblegalaxy-proxy/

Found API version 'v3, pulp-v3, v1' with Galaxy server cmd_arg (https://prep-nexus-3.iad.ca.inet:8443/repository/ansiblegalaxy-proxy/api)

Opened /home/user/.ansible/galaxy_token

Calling Galaxy at https://prep-nexus-3.iad.ca.inet:8443/repository/ansiblegalaxy-proxy/api/v3/collections/dynatrace/event_driven_ansible/

Starting collection install process

Fetching a collection tarball for 'dynatrace.event_driven_ansible:1.2.2' from Ansible Galaxy

Downloading https://prep-nexus-3.iad.ca.inet:8443/repository/ansiblegalaxy-proxy/api/v3/plugin/ansible/content/published/collections/artifacts/dynatrace-event_driven_ansible-1.2.2.tar.gz to /home/user/.ansible/tmp/ansible-local-85968468usaa2a/tmpgaf1w047/dynatrace-event_driven_ansible-1.2.2-rnxiq8rs

ERROR! Failed to download collection tar from 'cmd_arg' due to the following unforeseen error: HTTP Error 404: Not Found. HTTP Error 404: Not Found

If I try with an owned collection I don't get the error, it complete with the message 'collection already installed'

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

No branches or pull requests

1 participant