Project

General

Profile

Actions

Bug #35390

closed

pulp_ansible API is wrongly configured, leading to uninstallable content

Added by Evgeni Golov over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

reported in https://community.theforeman.org/t/ansible-collection-and-ansible-galaxy/29999/2

% ansible-galaxy collection install -r requirements.yml --ignore-certs
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Downloading centos8-stream-katello-4-5.tanso.example.com/pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/Default_Organization/Library/custom/lol/ansible/collections/artifacts/theforeman-foreman-3.4.0.tar.gz to /home/evgeni/.ansible/tmp/ansible-local-3817261nrpb4wvj/tmpdqv0rst5/theforeman-foreman-3.4.0-qf9owvho
ERROR! Unexpected Exception, this is probably a bug: unknown url type: 'centos8-stream-katello-4-5.tanso.example.com/pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/Default_Organization/Library/custom/lol/ansible/collections/artifacts/theforeman-foreman-3.4.0.tar.gz'

the issue is that we set ANSIBLE_API_HOSTNAME without a schema in /etc/pulp/settings.py

Actions

Also available in: Atom PDF