Description of problem:
oc-mirror failed with error: the manifest type *ocischema.DeserializedImageIndex is not supported
Version-Release number of selected component (if applicable):
./oc-mirror.rhel8 version WARNING: This version information is deprecated and will be replaced with the output from --short. Use --output=yaml|json to get the full version. Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.18.0-202410251041.p0.g95f0611.assembly.stream.el9-95f0611", GitCommit:"95f0611c1dc9584a4a9e857912b9eaa539234bbc", GitTreeState:"clean", BuildDate:"2024-10-25T11:28:19Z", GoVersion:"go1.22.7 (Red Hat 1.22.7-1.module+el8.10.0+22325+dc584f75) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
How reproducible:
Always
Steps to Reproduce:
1. imagesetconfig as follow : kind: ImageSetConfiguration apiVersion: mirror.openshift.io/v1alpha2 mirror: operators: - catalog: registry.redhat.io/redhat/certified-operator-index:v4.16 packages: - name: nginx-ingress-operator 2. run the mirror2mirror command : ./oc-mirror.rhel8 -c config-66870.yaml docker://localhost:5000/18 --dest-skip-tls --dest-use-http
Actual results:
2. hit error : ./oc-mirror.rhel8 -c config-66870.yaml docker://localhost:5000/18 --dest-skip-tls --dest-use-http Checking push permissions for localhost:5000 Creating directory: oc-mirror-workspace/src/publish Creating directory: oc-mirror-workspace/src/v2 Creating directory: oc-mirror-workspace/src/charts Creating directory: oc-mirror-workspace/src/release-signatures backend is not configured in config-66870.yaml, using stateless mode backend is not configured in config-66870.yaml, using stateless mode No metadata detected, creating new workspace .... manifests: sha256:dea36b1dde70a17369d775cbabe292e7173abcef426dfc21b8a44896544a30da -> ae3ddd14 stats: shared=0 unique=27 size=139.1MiB ratio=1.00error: the manifest type *ocischema.DeserializedImageIndex is not supported error: an error occurred during planning
Expected results:
3. no error
Additional info:
compared with 4.17 oc-mirror, no such issue