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

[v2] While mirroring rebuilt catalog with oc-mirror receiving "Instructed to preserve digests" error

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • CLID Sprint 282
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          Mirroring the rebuilt catalog to a nexus that does not support OCI format returns an error

       
      How reproducible:

      Run oc-mirror v2 mirror to mirror with target registry nexus 3.37.3-02 with the following image set config:   
      
      kind: ImageSetConfiguration
      apiVersion: mirror.openshift.io/v2alpha1
      mirror:
        operators:
        - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.17
          packages:
            - name: 3scale-operator
              channels:
              - name: threescale-2.16
              - name: threescale-2.15
                minVersion: 0.12.2
                maxVersion: 0.12.2
      
      
      

      Actual results:

          2025/12/23 22:30:03  [ERROR]  : [Worker] error mirroring image docker://registry.redhat.io/redhat/redhat-operator-index:v4.17 error: Manifest list must be converted to type "application/vnd.docker.distribution.manifest.list.v2+json" to be written to destination, but we cannot modify it: "Instructed to preserve digests"

      Expected results:

          No Error should be returned

      Additional info:

          

              rh-ee-aguidi Alex Guidi
              rh-ee-aguidi Alex Guidi
              None
              None
              Nidan Gavali Nidan Gavali
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: