cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Tutkowski <mike.tutkow...@solidfire.com>
Subject Re: Bug? Should we allow detaching volumes when VMs have snapshots
Date Tue, 05 Nov 2013 18:23:34 GMT
Hi Chris,

I have not experimented with VM snapshots via CloudStack, but this sounds
really bad.

Perhaps the simplest fix is to not allow disks to be detached from VMs with
snapshots.

I'll be curious to see what others have to say.

Talk to you later


On Tue, Nov 5, 2013 at 11:05 AM, SuichII, Christopher <
Chris.Suich@netapp.com> wrote:

> 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.
>
> Does anyone else have any thoughts on whether this is a bug or not? IMO,
> on VMWare, this set of steps can get users into a state where they can no
> longer attach new data disks to their VM, so it appears to be a bug of some
> kind.
>
> -Chris
> --
> Chris Suich
> chris.suich@netapp.com
> NetApp Software Engineer
> Data Center Platforms – Cloud Solutions
> Citrix, Cisco & Red Hat
>
>


-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message