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

The unit of 'Sync Interval' in mirror is changed from week to minute won't work

XMLWordPrintable

    • False
    • None
    • False

      Description of problem:

      When run mirror function,  if change  the`Sync Interval`from 1 week  to 1 minute, the mirror won't be triggered after 1 minute.

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

      quay 3.6.4 release version

      quay 3.7.0 (quay-operator-bundle-container-v3.7.0-75)

      How reproducible:

      always

      Steps to Reproduce:
      1.  configure mirror function as normal,  at the beginning, set the `Sync Interval` as 1 week

      config interval as 1 week

      2. a few minutes later, the image will be mirrored successfully

      image mirror successfully

      3.  update the interval to 1 minute

      image mirror successfully

       

      4 10 minutes later, the image won't be mirrored again

      image mirror successfully

      Actual results:

      After changing interval to 1 minute, the mirror won't run in every 1 minute

      Expected results:

      After changing interval to 1 minute, the mirror should run in every 1 minute

      Additional info:

      When change the interval from 1 day  to 1 minute,  or 1 hour to 1 minute , the mirror won't run in every 1 minute either.

       

      When set 2 minutes at beginning, then change to 1 minute, it works.

       

      The logs:

       

      $ oc get pod
      NAME                                              READY   STATUS      RESTARTS       AGE
      ........
      quayregistry-quay-mirror-75c4c6d87b-wkr28         1/1     Running     0              4h1m
      quayregistry-quay-mirror-75c4c6d87b-ztt9c         1/1     Running     0              4h1m
       
      

      The attachment includes the logs of mirror pods

              Unassigned Unassigned
              rhwhu Weihua Hu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: