Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-37867

oc-mirror skips images with digest and tag

XMLWordPrintable

    • None
    • CLID Sprint 257, CLID Sprint 258
    • 2
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, oc-mirror v2 Technology Preview did not support images referenced by both `tag` and `digest`. These images were excluded from the archive during the mirror-to-disk workflow, causing failures when mirroring from the archive to a disconnected mirror registry. With this fix, oc-mirror v2 includes these images in the archive by pulling the source image by `digest` while retaining the `tag` for reference. A warning message is displayed to inform users of this behavior. (link:https://issues.redhat.com/browse/OCPBUGS-37867[*OCPBUGS-37867*])
      Show
      * Previously, oc-mirror v2 Technology Preview did not support images referenced by both `tag` and `digest`. These images were excluded from the archive during the mirror-to-disk workflow, causing failures when mirroring from the archive to a disconnected mirror registry. With this fix, oc-mirror v2 includes these images in the archive by pulling the source image by `digest` while retaining the `tag` for reference. A warning message is displayed to inform users of this behavior. (link: https://issues.redhat.com/browse/OCPBUGS-37867 [* OCPBUGS-37867 *])
    • Bug Fix
    • Done

      Description of problem:

          When an image is referenced by tag and digest, oc-mirror skips the image

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

          

      How reproducible:

          Do mirror to disk and disk to mirror using the registry.redhat.io/redhat/redhat-operator-index:v4.16 and the operator multiarch-tuning-operator

      Steps to Reproduce:

          1 mirror to disk
          2 disk to mirror

      Actual results:

          docker://gcr.io/kubebuilder/kube-rbac-proxy:v0.13.1@sha256:d4883d7c622683b3319b5e6b3a7edfbf2594c18060131a8bf64504805f875522 (Operator bundles: [multiarch-tuning-operator.v0.9.0] - Operators: [multiarch-tuning-operator]) error: Invalid source name docker://localhost:55000/kubebuilder/kube-rbac-proxy:v0.13.1:d4883d7c622683b3319b5e6b3a7edfbf2594c18060131a8bf64504805f875522: invalid reference format

      Expected results:

      The image should be mirrored    

      Additional info:

          

              skhoury@redhat.com Sherine Khoury
              rh-ee-aguidi Alex Guidi
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: