Skip to content

Ansible distribution responses don't return PRNs #2320

@ianballou

Description

@ianballou

Version

python3.12-pulp-glue-0.32.3-1.el9.noarch
pulpcore-selinux-2.1.0-1.el9.x86_64
python3.12-pulp-cli-0.32.3-1.el9.noarch
rubygem-smart_proxy_pulp-3.4.0-1.fm3_13.el9.noarch
python3.12-pulpcore-3.85.1-1.el9.noarch
python3.12-pulp-ansible-0.28.0-1.el9.noarch
python3.12-pulp-container-2.26.1-1.el9.noarch
python3.12-pulp-deb-3.7.0-2.el9.noarch
python3.12-pulp-ostree-2.5.0-1.el9.noarch
python3.12-pulp-python-3.19.0-1.el9.noarch
python3.12-pulp-rpm-3.32.0-1.el9.noarch

Describe the bug

$ sudo pulp ansible distribution list
[
  {
    "pulp_href": "/pulp/api/v3/distributions/ansible/ansible/0199ce6d-cb15-780f-a338-fd13b28056f7/",
    "pulp_created": "2025-10-10T14:02:05.974503Z",
    "base_path": "Default_Organization/Library/custom/Buttermilk_Biscuits/Ansible_Repo",
    "content_guard": null,
    "name": "Ansible_Repo-18653",
    "repository": null,
    "repository_version": "/pulp/api/v3/repositories/ansible/ansible/0199ce6d-c630-7afc-aee3-216a1aaf1692/versions/0/",
    "client_url": "https://centos9-katello-devel-2.porcino.example.com/pulp_ansible/galaxy/Default_Organization/Library/custom/Buttermilk_Biscuits/Ansible_Repo/",
    "pulp_labels": {}
  }
]

The distribution does not list hrefs. It's the only plugin that does not out of the ones I have installed.

To Reproduce
List ansible distributions

Expected behavior
PRN is there.

Additional context
Katello is starting to index PRNs along with hrefs in anticipation for the move away from hrefs. We'd like to only use PRNs going forward as soon as possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions