-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
Quality / Stability / Reliability
-
3
-
False
-
-
True
-
-
CNV Storage 276
-
Moderate
Description of problem:
DV/PVC leftover is not cleaned up when the migration is failed
Version-Release number of selected component (if applicable):
CNV-v4.20-98
How reproducible:
Always
Steps to Reproduce:
1. Create and VM and do CCLM 2. The migration is failed for some reason 3. Check the target namespace
Actual results:
The DV/PVC leftover is not cleaned up: $ oc get pvc NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE plan27-6255500b-8acb-417f-bb1f-6edb7f513457-g9dvx Pending ocs-storagecluster-ceph-rbd-virtualization <unset> 25m prime-bdbfc186-4caa-4fe4-a3e6-421b07d9d5f2 Bound pvc-4e424d28-2424-47c5-b9c8-12275ec3f059 30Gi RWX ocs-storagecluster-ceph-rbd-virtualization <unset> 25m $ oc get dv NAME PHASE PROGRESS RESTARTS AGE plan27-6255500b-8acb-417f-bb1f-6edb7f513457-g9dvx ImportInProgress N/A 9 25m Deleting the Plan, the DV/PVC is still there. $ oc get plan plan27 -n openshift-mtv Error from server (NotFound): plans.forklift.konveyor.io "plan27" not found $ oc get pvc NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE plan27-6255500b-8acb-417f-bb1f-6edb7f513457-g9dvx Pending ocs-storagecluster-ceph-rbd-virtualization <unset> 25m prime-bdbfc186-4caa-4fe4-a3e6-421b07d9d5f2 Bound pvc-4e424d28-2424-47c5-b9c8-12275ec3f059 30Gi RWX ocs-storagecluster-ceph-rbd-virtualization <unset> 25m
Expected results:
It is better to have a clearing mechanism that DV/PVC leftover could be cleaned up when migration is failed or the plan is deleted.
Additional info:
- is blocked by
-
CNV-68090 [CCLM]When a cross cluster live migration fails, the target VMIM is not marked failed
-
- Closed
-