-
Sub-task
-
Resolution: Done
-
Normal
-
None
-
Quality / Stability / Reliability
-
0.42
-
False
-
-
False
-
None
-
Description of problem:
When a deletion attempt is performed on a VM which is restored from a Snapshot, the UI reports only the root disks for deletion and ignores other hotplug disks if any attached to VM. If the deletion is proceeded it deletes all the disks including the hotplug disks but does not report all the disks in UI.
Version-Release number of selected component (if applicable):
4.16
4.17
4.18
How reproducible: 100%
Steps to Reproduce:
1. Create a VM from template. Hotplug additional disk to the VM ( This adds new dv's )
2. Take a Snapshot.
3. Shutdown the VM
4. Restore the VM from snapshot
5. Verify the VM definition file. The DV's for hotplug disk are missing and only PVC's are restored. This is expected behaviour as its using Kubernetes Volumesnapshot in background which will only take PVC snapshot. Exception is rootdisk. Where we see the DV is restored.
6. Attempt to delete the VM. The UI reports only the rootdisk selected for deletion. It ignores the Hotplug disks.
7. If we proceed with deletion, All the disks including the Hotplug disks are removed.
Actual results:
Attempt to delete the VM. The UI reports only the rootdisk selected for deletion. It ignores the Hotplug disks.
If we proceed with deletion, All the disks including the Hotplug disks are removed.
Expected results:
UI should report all the disks during the VM deletion.