Description of problem:
with the introduction of consolidating the new release collector for delete feature i see that mirroring fails when performed (d2m + m2d) and then (mirror2mirror)
Version-Release number of selected component (if applicable):
[fedora@preserve-fedora-yinzhou test]$ ./oc-mirror 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.17.0-202407082010.p0.g7895cf4.assembly.stream.el9-7895cf4", GitCommit:"7895cf449985d2811b68ae4fd8f00f7f54447956", GitTreeState:"clean", BuildDate:"2024-07-08T21:42:58Z", GoVersion:"go1.22.4 (Red Hat 1.22.4-1.module+el8.10.0+21981+729b5bf8) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
How reproducible:
Always
Steps to Reproduce:
1. Install OCP4.17 cluster & oc-mirror 4.17 version 2. Follow the steps in PR https://github.com/openshift/oc-mirror/pull/883 3. perform m2d, d2m & m2m
Actual results:
You could see m2m failing with error below -dev/ocp-v4.0-art-dev@sha256:fb78735c5d44f5d0aacc1b9c149c21f200418efa74fe1298eb330aea93abbaca. Image may not exist or is not stored with a v2 Schema in a v2 registry 2024/07/29 10:47:02 [ERROR] : [Worker] error mirroring image quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:fe1b7ae0013ef5feb8de9c4fa4a13b5c09cdbbbd7822b55dcd20c58fd2b5156e error: Unable to delete localhost:5000/openshift-release-dev/ocp-v4.0-art-dev@sha256:fe1b7ae0013ef5feb8de9c4fa4a13b5c09cdbbbd7822b55dcd20c58fd2b5156e. Image may not exist or is not stored with a v2 Schema in a v2 registry 2024/07/29 10:47:02 [ERROR] : [Worker] error mirroring image quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:feb334faec07e3dcf556f11b8516e433a85cefa02ba2c8c7da2ff2504ae6e5bc error: Unable to delete localhost:5000/openshift-release-dev/ocp-v4.0-art-dev@sha256:feb334faec07e3dcf556f11b8516e433a85cefa02ba2c8c7da2ff2504ae6e5bc. Image may not exist or is not stored with a v2 Schema in a v2 registry 2024/07/29 10:47:02 [ERROR] : [Worker] error mirroring image quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:ff7cfeec16898c293222ac1422841440cdeffefa7d489757e71999d5305425f8 error: Unable to delete localhost:5000/openshift-release-dev/ocp-v4.0-art-dev@sha256:ff7cfeec16898c293222ac1422841440cdeffefa7d489757e71999d5305425f8. Image may not exist or is not stored with a v2 Schema in a v2 registry 2024/07/29 10:47:02 [ERROR] : [Worker] error mirroring image quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:ff88f1a78dac067bb93d98818bcee9bed36de0b2a74f3ed42d15ad816a16f624 error: Unable to delete localhost:5000/openshift-release-dev/ocp-v4.0-art-dev@sha256:ff88f1a78dac067bb93d98818bcee9bed36de0b2a74f3ed42d15ad816a16f624. Image may not exist or is not stored with a v2 Schema in a v2 registry
Expected results:
No errors should be seen
Additional info:
More discussion can be found in the thread here https://redhat-internal.slack.com/archives/C050P27C71S/p1722250261287439
- relates to
-
CLID-235 As oc-mirror user, I would like the migration between v1 and v2 to be smooth
- Testing