cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-5172) Removing disks from VMWare VMs with snapshots causes problems
Date Wed, 04 Dec 2013 14:58:35 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-5172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Likitha Shetty resolved CLOUDSTACK-5172.
----------------------------------------

    Resolution: Fixed

Detaching/attaching VM volume is not allowed if there are VM snapshots, because any changes
to the disk layout will break the semantics of VM-based snapshot.
refer - [https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots]
Therefore don't allow volume detach if the associated VM has snapshots


> 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
>            Assignee: Likitha Shetty
>            Priority: Critical
>              Labels: snapshot, snapshots, vmware
>             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)

Mime
View raw message