Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-10863

The "Remaining retries" field for organizing mirroring does not work when mirroring multiple repositories in batches

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      Configure organization mirroring strategy to batch mirror multiple repositories. If some repositories fail in the first round of mirroring, the mirroring worker will attempt to mirror them in the second round. However, the "Remaining retries" field will not change during this process.

      By default mirroring design, the mirroring worker will attempt three times. In these three attempts, the "Remaining retries" field will change to "3/3", "2/3", and "1/3", respectively.

      If the mirroring involves only one repository, will see the change in the "Remaining retries" field. the "Remaining retries" field will change to "3/3", "2/3", and "1/3", respectively.

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

      ---------------------------
      $ oc get $(oc get pod -l name=quay-operator-alm-owned -o name -n quay-enterprise) -o jsonpath='{.spec.containers[0].image}' -n quay-enterprise
      registry.redhat.io/quay/quay-operator-rhel9@sha256:c3b128ea1e37cadeba371aef55788a1cb787e03062e20ae9dac758a11ad77aca
      ------------------------------
      $ oc get $(oc get pod -l app=quay -o NAME -n quay-enterprise|head -n 1) -o jsonpath='{.spec.containers[0].image}' -n quay-enterprise
      registry.redhat.io/quay/quay-rhel9@sha256:93eb978f08dde9ed05458dba854972d1eeb58736f93280bee85f9047fcf9fa36
      ------------------------------
      $ oc get quayregistry -o jsonpath='{.items[0].status.currentVersion}'  -n quay-enterprise
      3.17.0 

       

      Steps to reproduce:

      1. Configure a organization mirroring strategy with "Repository Filters", such as "Filter Patterns" field is "repo1[1-3], pause1[1-3]"

      2. Trigger mirror process, observe the change in the "Remaining retries" field

      Get the detailed information in Screen Recording 2026-03-06 at 22.54.45.mov

      Expected results

      The "Remaining retries" field should also apply to batch mirroring multiple repositories.
      After finishing the first round mirroring, the "Remaining retries" field should change to "2/3".
      After finishing the second round mirroring, the "Remaining retries" field should change to "1/3".
      After finishing the third round mirroring, the "Remaining retries" field should change to "0/3" until the next synchronization time arrives.

              rh-ee-shossain Shaon Hossain
              rhwhu Weihua Hu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: