Project

Profile

Help

Issue #9534

Ansible Galaxy Repo failed to synchronize case-sensitive role name

Added by stosem about 1 month ago. Updated 10 days ago.

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:

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.

History

#2 Updated by mdellweg about 1 month ago

This sounds like we would need appropriate uniqueness constraints in the database to prevent both "tEst" and "TeSt" to exist as namespaces.

#3 Updated by fao89 about 1 month ago

  • Project changed from Pulp to Ansible Plugin

#4 Updated by pulpbot 10 days ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF