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:
- relates to
-
OCPBUGS-53455 [v2] While mirroring certified operator with oc-mirror receiving "Instructed to preserve digests" error
-
- Closed
-
- links to