Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-20274

ansible-collections repository is missing /api endpoint when synced on capsule

XMLWordPrintable

    • 0
    • False
    • Moderate
    • Sprint 124, Sprint 125, Sprint 126
    • None
    • None
    • None
    • None

      Description of problem:

      ansible-collections repository can sync to capsule, but url misses /api endpoint so it is not possible to use capsule as local ansible-galaxy (you can do it with satellite)

      Example setting in asible.cfg
      [galaxy]
      server_list = satellite
      [galaxy_server.satellite]
      url = https://snemeth-satellite6.sysmgmgmt.lan/pulp_ansible/galaxy/TME/Library/custom/redhat_ansible_collections/redhat_collections/api/

      Repository path on capsule
      https://10.37.195.5/pulp/content/TME/production/rhel8-ansible-galaxy/custom/redhat_ansible_collections/redhat_collections/
      Repository path on satellite
      https://snemeth-satellite6.sysmgmgmt.lan/pulp_ansible/galaxy/TME/Library/custom/redhat_ansible_collections/redhat_collections/api/

      Version-Release number of selected component (if applicable):

      How reproducible:

      100%

      Steps to Reproduce:
      1.create product, content -> products -> redhat ansible collections

      2.new repository for ansible collections,

      Upstream URL: https://console.redhat.com/api/automation-hub/

      3. sync to capsule

      Actual results:

      https://capsule6.sysmgmgmt.lan/pulp_ansible/galaxy/TME/Library/custom/redhat_ansible_collections/redhat_collections/

      Expected results:

      https://capsule6.sysmgmgmt.lan/pulp_ansible/galaxy/TME/Library/custom/redhat_ansible_collections/redhat_collections/api/

      Additional info:

          There are no Sub-Tasks for this issue.

              iballou@redhat.com Ian Ballou
              jira-bugzilla-migration RH Bugzilla Integration
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: