Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-2206

Can not sync rh-certified collections on Private Automation Hub

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • 2.3
    • Pulp
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Important

      Collections sync is not working on PAH after deleting all collections and name spaces.

      <what is happening>

      After deleting collections and namespaces on the PAH using API calls , syncing the collections again is triggered but the sync task finished after seconds as completed

      <list explicit steps to reproduce>

      1) Sync rh-certified collections repository.
      2) Delete all collections and namespaces using API calls using loop :

      1. curl -k -u admin:redhat https://[PAH]/api/galaxy/content/rh-certified/v3/plugin/ansible/content/rh-certified/collections/index/ansible/[Collection]/ -X DELETE
      1. curl -k -u admin:redhat https://[PAH]/api/galaxy/_ui/v1/namespaces/[NAMESPACE]/ -X DELETE

      <how reproducible>

      Always

      <Actual Behavior>

      The sync task finished after seconds as completed.

      Progress messages
      Message :no-op: https://console.redhat.com/api/automation-hub/content/[USER]-synclist/ did not change since last sync - 2023-03-17 15:14:12.284862+00:00
      Code: sync.no_change
      State: completed

      <what is happening>

      Expected Behavior

      The sync should work without issues
      <what should happen>

              Unassigned Unassigned
              rhn-support-aeladawy Ahmed Eladawy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: