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

pulp_ansible shows wrong url in Galaxy install process #1746

Open
david-sieg opened this issue Feb 15, 2024 · 0 comments
Open

pulp_ansible shows wrong url in Galaxy install process #1746

david-sieg opened this issue Feb 15, 2024 · 0 comments

Comments

@david-sieg
Copy link

Version
Foreman Katello 3.8

Describe the bug
We use Foreman Katello behind Loadbalancer due to more flexible certificate handling.
During installation process Galaxy Api redirects to origin hostname which isn't actual endpoint.

To Reproduce
(ansible_2_15) user@domain.local ~/ansible () $ ansible-galaxy collection install microsoft.ad -f
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Downloading https://internal.domain.local/pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/ITSG/Library/custom/test_ansible_collection/test_rh_certified/collections/artifacts/microsoft-ad-1.4.1.tar.gz to /home/user/.ansible/tmp/ansible-local-1491441zo1sxs_e/tmpf679raqt/microsoft-ad-1.4.1-sv42uf7x
ERROR! Failed to download collection tar from 'mirrored_collections' due to the following unforeseen error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)>. <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)>@

Expected behavior
Installation of Collection with using of configured url/ hostname.

Additional context
I already opened an issue at Katello Redmine.
https://projects.theforeman.org/issues/37138#change-171498

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

No branches or pull requests

1 participant