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
      When using oc-mirror v2 tech preview, images referenced by both tag and digest were not supported. Previously, such images were excluded (skipped) from the archive built by oc-mirror during the mirror to disk workflow. This lead to a failure of the disk to mirror workflow (mirroring from the archive to a disconnected mirror registry).
      With this fix, oc-mirror v2 tech preview will include the image in the archive by pulling the source image by digest but keeping the tag only for further reference. It will inform the user with a warning of this decision.
      Show
      When using oc-mirror v2 tech preview, images referenced by both tag and digest were not supported. Previously, such images were excluded (skipped) from the archive built by oc-mirror during the mirror to disk workflow. This lead to a failure of the disk to mirror workflow (mirroring from the archive to a disconnected mirror registry). With this fix, oc-mirror v2 tech preview will include the image in the archive by pulling the source image by digest but keeping the tag only for further reference. It will inform the user with a warning of this decision.
    • Bug Fix
    • In Progress

      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: