Chris Suich created CLOUDSTACK-5172: ---------------------------------------
Summary: Removing disks from VMWare VMs with snapshots causes problems Key: CLOUDSTACK-5172 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5172 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Snapshot, VMware Affects Versions: 4.3.0 Reporter: Chris Suich Fix For: 4.3.0 We currently don’t allow volumes to be attached to VMs with snapshots and allowing volumes to be detached causes quite a bug: 1) Attach a data disk to a VM 2) Snapshot the VM 3) Detach the data disk 4) Attempt to restore the VM from the snapshot — FAILS since the data disk is no longer there, although it is expected to be 5) Attempt to re-attach the volume to the VM — FAILS since you cannot attach volumes to VMs with snapshots 6) Attempt to delete the VM snapshot — FAILS since the data disk is no longer there, although it is expected to be I have verified the above steps on VMWare, however Xen does not appear to fail on step 4, presumably because VMWare handles snapshots quite differently than Xen. After discussion on the dev list, it sounds like the proper course of action would be to prohibit disks from being detached from VMWare VMs with snapshots. -- This message was sent by Atlassian JIRA (v6.1#6144)