Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-57798 Deletion of VM (restored from a Snapshot) reports only the rootdisk in UI for deletion and ignores other hotplug disks
  3. CNV-64331

QE Verify: Deletion of VM (restored from a Snapshot) reports only the rootdisk in UI for deletion and ignores other hotplug disks

XMLWordPrintable

    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • 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.

              gouyang1@redhat.com Guohua Ouyang
              mschatzm@redhat.com Matan Schatzman
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: