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

Existing tags get deleted when mirroring fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • quay-v3.4.0
    • None
    • quay
    • None
    • 0

      "Steps to reproduce

      Steps taken:

      1.) Sync repo (ose-egress-router) successfully with Tag pattern "v3.11*,latest"

      2.) Run skopeo inspect to show state of repo BEFORE the next sync (attachment: 01_skopeo_inspect_ose-egress-router_2020-02-29_10-16_BEFORE_sync.log)

      3.) Change Tag pattern to "v3.11*,v3.9*,latest"

      4.) Run Sync with mirror_worker set to DEBUG

      • During this sync I think two tags had timeouts
      • See attachment "02_repomirror_worker_debug.log"
      • It also contains several rollback activities

      5.) After the Sync was in status failed I ran another skopeo inspect

      See attachment 03_skopeo_inspect_ose-egress-router_2020-02-29_12-02_AFTER_sync.log

      skopeo inspects there are multiple tags missing after the sync that were present beforehand. My guess still is the rollback has deleted them.
      The most prominent tag that is missing after the sync is the "latest" tag."

            tomckay@redhat.com Thomas Mckay
            icherapa@redhat.com Ivan C (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: