-
Bug
-
Resolution: Done-Errata
-
Critical
-
4.16
-
+
-
Important
-
No
-
Rejected
-
False
-
-
-
Bug Fix
-
In Progress
This is a clone of issue OCPBUGS-34020. The following is the description of the original issue:
—
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:
- clones
-
OCPBUGS-34020 When mirroring fails IDMS, ITMS resources are not generated
- Closed
- is blocked by
-
OCPBUGS-34020 When mirroring fails IDMS, ITMS resources are not generated
- Closed
- links to
-
RHBA-2024:4316 OpenShift Container Platform 4.16.z bug fix update