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

Skopeo inspect hangs on repos with extremely large number of tags

XMLWordPrintable

      Mirroring a repository that has a very large number of tags hangs Skopeo. For instance, this repository has 2500 tags:

      # skopeo inspect docker://gcr.io/istio-release/pilot:1.9.6 | jq '.RepoTags[]' | wc -l
      2524
      

      Once the mirror worker starts mirroring this type of repository, it ends up in a loop:

      repomirrorworker stdout | 2021-07-15 11:01:01,649 [59] [DEBUG] [apscheduler.scheduler] Looking for jobs to run
      repomirrorworker stdout | 2021-07-15 11:01:01,649 [59] [WARNING] [apscheduler.scheduler] Execution of job "_process_mirrors (trigger: interval[0:00:30], next run at: 2021-07-15 11:01:01 UTC)" skipped: maximum number of running instances reached (1)
      2021-07-15 11:01:01,650 [59] [DEBUG] [apscheduler.scheduler] Next wakeup is due at 2021-07-15 11:01:31.649154+00:00 (in 29.999334 seconds)
      

      Logs from the pod are attached. Please check.

              sdadi@redhat.com Sunanda Dadi
              rhn-support-ibazulic Ivan Bazulic
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: