Actions
Issue #9534
closedAnsible Galaxy Repo failed to synchronize case-sensitive role name
Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Ticket moved to GitHub: "pulp/pulp_ansible/747":https://github.com/pulp/pulp_ansible/issues/747
The galaxy.ansible.com API uses case-insensitive fields for the owner username and role name. The Ansible Galaxy Hub source code: https://github.com/ansible/galaxy/blob/e0e4b909171ddc6ca40f0ef2f7d4dce5680777ce/galaxy/api/views/roles.py#L50
But pulp usesnamespace=namespace. It causes the error on case-sensitive repositories (404 not found, or empty set). An example:
- https://galaxy.ansible.com/api/v1/roles/?owner__username=Oefenweb
- https://galaxy.ansible.com/api/v1/roles/?owner__username=oefenweb
Galaxy Ansible returns the same result. But pulp isn't.
So we can't install roles like this using regular ansible-galaxy install oefenweb.postfix
command with the Pulp repo.
Actions