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 802D210ED9 for ; Thu, 14 Nov 2013 16:41:24 +0000 (UTC) Received: (qmail 65255 invoked by uid 500); 14 Nov 2013 16:41:24 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 65223 invoked by uid 500); 14 Nov 2013 16:41:23 -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 65192 invoked by uid 500); 14 Nov 2013 16:41:22 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 65171 invoked by uid 99); 14 Nov 2013 16:41:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Nov 2013 16:41:21 +0000 Date: Thu, 14 Nov 2013 16:41:21 +0000 (UTC) From: "Chris Suich (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 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 defa= ult.) Components: Snapshot, VMware Affects Versions: 4.3.0 Reporter: Chris Suich Fix For: 4.3.0 We currently don=E2=80=99t allow volumes to be attached to VMs with snapsho= ts 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 da= ta 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 cann= ot 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 f= ail on step 4, presumably because VMWare handles snapshots quite differentl= y than Xen. After discussion on the dev list, it sounds like the proper course of actio= n would be to prohibit disks from being detached from VMWare VMs with snaps= hots. -- This message was sent by Atlassian JIRA (v6.1#6144)