Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DAD3810404 for ; Wed, 4 Dec 2013 14:58:37 +0000 (UTC) Received: (qmail 64559 invoked by uid 500); 4 Dec 2013 14:58:37 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 64537 invoked by uid 500); 4 Dec 2013 14:58:37 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 64341 invoked by uid 500); 4 Dec 2013 14:58:36 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 64323 invoked by uid 99); 4 Dec 2013 14:58:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Dec 2013 14:58:36 +0000 Date: Wed, 4 Dec 2013 14:58:35 +0000 (UTC) From: "Likitha Shetty (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-5172) Removing disks from VMWare VMs with snapshots causes problems MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-5172?page=3Dcom.atl= assian.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, bec= ause any changes to the disk layout will break the semantics of VM-based sn= apshot. refer - [https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshot= s] 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-517= 2 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > 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=E2=80=99t allow volumes to be attached to VMs with snaps= hots 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 =E2=80=94 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 =E2=80=94 FAILS since you ca= nnot attach volumes to VMs with snapshots > 6) Attempt to delete the VM snapshot =E2=80=94 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 differen= tly than Xen. > After discussion on the dev list, it sounds like the proper course of act= ion would be to prohibit disks from being detached from VMWare VMs with sna= pshots. -- This message was sent by Atlassian JIRA (v6.1#6144)