-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
4.16, 4.17
This is a clone of issue OCPBUGS-50963. The following is the description of the original issue:
—
Description of problem:
When using oc-mirror version 2, it creates idms-oc-mirror.yaml and itms-oc-mirror.yaml after a successful mirroring process(mirror to mirror). However, On a second attempt, I've added an operator in the imageset-config.yaml and then re-run the same command with a --dry-run, I noticed that these resource files got deleted.
Version-Release number of selected component (if applicable):
How reproducible:
always
Steps to Reproduce:
1. Create a imageset-config.yaml 2. Run oc-mirror --v2, mirror images 3. Run with a --dry-run option
Actual results:
the existing yaml in the ocp_mirror/working-dir/cluster-resources/ directory when running with a --dry-run option
Expected results:
--dry-run supposed not to delete files
Additional info:
tested with 4.17 oc-mirror version
- clones
-
OCPBUGS-50963 A --dry-run option in oc-mirror version 2 deletes yaml resources in the ocp_mirror/working-dir/cluster-resources/ directory
-
- Verified
-
- is blocked by
-
OCPBUGS-50963 A --dry-run option in oc-mirror version 2 deletes yaml resources in the ocp_mirror/working-dir/cluster-resources/ directory
-
- Verified
-
- links to
-
RHBA-2025:1904 OpenShift Container Platform 4.18.z bug fix update