-
Bug
-
Resolution: Done-Errata
-
Critical
-
None
-
4.16
Description of problem:
Mirroring fails sometimes due to various number of reasons and since mirror fails, current code does not generate idms & itms files. Even if user tries to mirror the operators twice or thrice the operators does not get mirrored and no resources are created to utilize the operators that have already been mirrored. This bug is to create idms and itms even if mirroring fails
Version-Release number of selected component (if applicable):
4.16
How reproducible:
Always
Steps to Reproduce:
1. Install latest oc-mirror 2. Use the ImageSetConfig.yaml below apiVersion: mirror.openshift.io/v1alpha2 kind: ImageSetConfiguration archiveSize: 4 mirror: operators: - catalog: registry.redhat.io/redhat/certified-operator-index:v4.15 full: false # only mirror the latest versions - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.15 full: false # only mirror the latest versions 3. Mirror using the command `oc-mirror -c config.yaml docker://localhost:5000/m2m --dest-skip-verify=false --workspace=file://test`
Actual results:
Mirroring fails and does not generate any idms or itms files
Expected results:
IDMS and ITMS files should be generated for the mirrored operators, even if mirroring fails
Additional info:
- blocks
-
OCPBUGS-35409 When mirroring fails IDMS, ITMS resources are not generated
- Closed
- is cloned by
-
OCPBUGS-35409 When mirroring fails IDMS, ITMS resources are not generated
- Closed
- links to
-
RHEA-2024:3718 OpenShift Container Platform 4.17.z bug fix update