oc-mirror v2 giving "Instructed to preserve digests" error while mirroring 'cilium' operator
Issue
When trying to mirror the cilium
operator, provided by certified catalog using oc-mirror v2
, it is failing with below error:
2025/03/21 17:15:39 [ERROR] : [Worker] error mirroring image docker://quay.io/cilium/cilium-etcd-operator@sha256:04b8327f7f992693c2cb483b999041ed8f92efc8e14f2a5f3ab95574a65ea2dc (Operator bundles: [cilium.v1.15.1-x7095b76 cilium.v1.9.14-x70dc065 cilium.v1.10.15-x084926b cilium.v1.11.20-xdb5ed32 cilium.v1.12.19-xef55de8 cilium.v1.13.12-x6e56d47 cilium.v1.14.7-x3522df7] - Operators: [cilium]) error: Copying a schema1 image with an embedded Docker reference to docker://<mirror-registry>:8443/cilium/cilium-etcd-operator:sha256-04b8327f7f992693c2cb483b999041ed8f92efc8e14f2a5f3ab95574a65ea2dc (Docker reference <mirror-registry>:8443/cilium/cilium-etcd-operator:sha256-04b8327f7f992693c2cb483b999041ed8f92efc8e14f2a5f3ab95574a65ea2dc) would change the manifest, which we cannot do: "Instructed to preserve digests"
2025/03/21 17:15:39 [ERROR] : [Worker] error mirroring image docker://registry.connect.redhat.com/isovalent/cilium-olm-metadata@sha256:40c7d896355dfe67ff3616f1e1df86548bfcd0524f7e56d4d72ab4f5f1739f6a error: skipping operator bundle docker://registry.connect.redhat.com/isovalent/cilium-olm-metadata@sha256:40c7d896355dfe67ff3616f1e1df86548bfcd0524f7e56d4d72ab4f5f1739f6a because one of its related images failed to mirror
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Disconnected environment
- oc-mirror v2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.