This is a clone of issue OCPBUGS-59761. The following is the description of the original issue:
—
This is a clone of issue OCPBUGS-54622. The following is the description of the original issue:
—
Description of problem:
The Delete workflow displays MirrorToDisk for MirrorToMirror Workflow
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1.Perform M2M using the command 'oc-mirror -c isc.yaml --workspace file://reg docker://localhost:5000 --dest-tls-verify=false --v2' 2.Use the command 'oc-mirror delete -c delisc.yaml --generate --workspace file://reg docker://localhost:5000 --v2 --dest-tls-verify=false' 3.Perform the delete workflow using the command 'oc-mirror delete --delete-yaml-file reg/working-dir/delete/delete-images.yaml docker://localhost:5000 --v2 --dest-tls-verify=false'
Actual results:
Result after the command 'oc-mirror delete -c delisc.yaml --generate --workspace file://reg docker://localhost:5000 --v2 --dest-tls-verify=false' 2025/04/04 11:29:57 [INFO] : 👋 Hello, welcome to oc-mirror 2025/04/04 11:29:57 [INFO] : ⚙️ setting up the environment for you... 2025/04/04 11:29:57 [INFO] : 🔀 workflow mode: diskToMirror / delete 2025/04/04 11:29:57 [INFO] : 🕵 going to discover the necessary images... 2025/04/04 11:29:57 [INFO] : 🔍 collecting release images... 2025/04/04 11:29:57 [INFO] : 🔍 collecting operator images... ✓ () Collecting catalog registry.redhat.io/redhat/redhat-operator-index:v4.17 2025/04/04 11:29:57 [INFO] : 🔍 collecting additional images... 2025/04/04 11:29:57 [INFO] : 🔍 collecting helm images... 2025/04/04 11:29:57 [INFO] : 📄 Generating delete file... 2025/04/04 11:29:57 [INFO] : reg/working-dir/delete file created 2025/04/04 11:29:57 [INFO] : delete time : 147.349335ms 2025/04/04 11:29:57 [INFO] : 👋 Goodbye, thank you for using oc-mirror
[fedora@knarra-fedora bug]$ ./oc-mirror delete --delete-yaml-file reg/working-dir/delete/delete-images.yaml docker://localhost:5000 --v2 --dest-tls-verify=false 2025/04/04 11:33:18 [INFO] : 👋 Hello, welcome to oc-mirror 2025/04/04 11:33:18 [INFO] : ⚙️ setting up the environment for you... 2025/04/04 11:33:18 [INFO] : 🔀 workflow mode: diskToMirror / delete 2025/04/04 11:33:18 [INFO] : 👀 Reading delete file... 2025/04/04 11:33:18 [INFO] : 🚀 Start deleting the images... 2025/04/04 11:33:18 [INFO] : 📌 images to delete 224
Expected results:
🔀 workflow mode: MirrorToMirror / delete
Additional info:
ISC file used: [fedora@knarra-fedora bug]$ cat isc.yaml kind: ImageSetConfiguration apiVersion: mirror.openshift.io/v2alpha1 archiveSize: 4 mirror: platform: channels: - name: stable-4.17 type: ocp minVersion: 4.17.12 maxVersion: 4.17.12 graph: true operators: - catalog: oci:///home/fedora/redhat-operator-index - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.17 packages: - name: ansible-automation-platform-operator defaultChannel: stable-2.4 channels: - name: stable-2.4 helm: repositories: - name: podinfo url: https://stefanprodan.github.io/podinfo charts: - name: podinfo version: 6.0.0 - name: sbo url: https://redhat-developer.github.io/service-binding-operator-helm-chart/ additionalImages: - name: registry.redhat.io/ubi8/ubi:latest - name: registry.redhat.io/ubi9/ubi:latest ========================================================================== [fedora@knarra-fedora bug]$ cat delisc.yaml kind: DeleteImageSetConfiguration apiVersion: mirror.openshift.io/v2alpha1 delete: platform: channels: - name: stable-4.17 type: ocp minVersion: 4.17.12 maxVersion: 4.17.12 graph: true operators: - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.17 packages: - name: ansible-automation-platform-operator defaultChannel: stable-2.4 channels: - name: stable-2.4 helm: repositories: - name: podinfo url: https://stefanprodan.github.io/podinfo charts: - name: podinfo version: 6.0.0 - name: sbo url: https://redhat-developer.github.io/service-binding-operator-helm-chart/ additionalImages: - name: registry.redhat.io/ubi8/ubi:latest - name: registry.redhat.io/ubi9/ubi:latest
- clones
-
OCPBUGS-59761 [v2] The delete workflow shown is MirrorToDisk for MirrorToMirror Delete Workflow
-
- Closed
-
- is blocked by
-
OCPBUGS-59761 [v2] The delete workflow shown is MirrorToDisk for MirrorToMirror Delete Workflow
-
- Closed
-
- links to