-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.18
Description of problem:
when delete the logs are wrong, still saying mirror is ongoing: Mirroring is ongoing. No errors
Version-Release number of selected component (if applicable):
./oc-mirror.rhel8 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.18.0-202411090338.p0.g0a7dbc9.assembly.stream.el9-0a7dbc9", GitCommit:"0a7dbc90746a26ddff3bd438c7db16214dcda1c3", GitTreeState:"clean", BuildDate:"2024-11-09T08:33:46Z", GoVersion:"go1.22.7 (Red Hat 1.22.7-1.module+el8.10.0+22325+dc584f75) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
How reproducible:
Always
Steps to Reproduce:
when execute the delete, the logs still say mirror is ongoing: oc mirror delete --delete-yaml-file test/yinzhou/debug72708/working-dir/delete/delete-images.yaml docker://my-route-zhouy.apps.yinzhou-1112.qe.devcluster.openshift.com --v2 --dest-tls-verify=false --force-cache-delete=true envar TEST_E2E detected - bypassing unshare2024/11/12 03:10:04 [WARN] : ⚠️ --v2 flag identified, flow redirected to the oc-mirror v2 version. This is Tech Preview, it is still under development and it is not production ready. 2024/11/12 03:10:04 [INFO] : 👋 Hello, welcome to oc-mirror 2024/11/12 03:10:04 [INFO] : ⚙️ setting up the environment for you... 2024/11/12 03:10:04 [INFO] : 🔀 workflow mode: diskToMirror / delete 2024/11/12 03:10:04 [INFO] : 👀 Reading delete file... 2024/11/12 03:10:04 [INFO] : 🚀 Start deleting the images... 2024/11/12 03:10:04 [INFO] : images to delete 396 ✓ 1/396 : (0s) docker://registry.redhat.io/devworkspace/devworkspace-operator-bundle@sha256:5689ad3d80dea99cd842992523debcb1aea17b6db8dbd80e412cb2e… 2024/11/12 03:10:04 [INFO] : Mirroring is ongoing. No errors.
Actual results:
oc mirror delete --delete-yaml-file test/yinzhou/debug72708/working-dir/delete/delete-images.yaml docker://my-route-zhouy.apps.yinzhou-1112.qe.devcluster.openshift.com --v2 --dest-tls-verify=false --force-cache-delete=true envar TEST_E2E detected - bypassing unshare2024/11/12 03:10:04 [WARN] : ⚠️ --v2 flag identified, flow redirected to the oc-mirror v2 version. This is Tech Preview, it is still under development and it is not production ready. 2024/11/12 03:10:04 [INFO] : 👋 Hello, welcome to oc-mirror 2024/11/12 03:10:04 [INFO] : ⚙️ setting up the environment for you... 2024/11/12 03:10:04 [INFO] : 🔀 workflow mode: diskToMirror / delete 2024/11/12 03:10:04 [INFO] : 👀 Reading delete file... 2024/11/12 03:10:04 [INFO] : 🚀 Start deleting the images... 2024/11/12 03:10:04 [INFO] : images to delete 396 ✓ 1/396 : (0s) docker://registry.redhat.io/devworkspace/devworkspace-operator-bundle@sha256:5689ad3d80dea99cd842992523debcb1aea17b6db8dbd80e412cb2e… 2024/11/12 03:10:04 [INFO] : Mirroring is ongoing. No errors.
Expected results:
Show correct delete logs
Additional info:
- relates to
-
CLID-234 Delete functionality fine tuning
- Testing
- links to