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 4A322105DF for ; Thu, 6 Feb 2014 16:22:31 +0000 (UTC) Received: (qmail 22092 invoked by uid 500); 6 Feb 2014 16:22:25 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 21932 invoked by uid 500); 6 Feb 2014 16:22:20 -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 21632 invoked by uid 500); 6 Feb 2014 16:22:15 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 21418 invoked by uid 99); 6 Feb 2014 16:22:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Feb 2014 16:22:12 +0000 Date: Thu, 6 Feb 2014 16:22:11 +0000 (UTC) From: "Chris Suich (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-6043) VMware detaching volume fails if volume has snapshots MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Chris Suich created CLOUDSTACK-6043: --------------------------------------- Summary: VMware detaching volume fails if volume has snapshots Key: CLOUDSTACK-6043 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6043 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: VMware, Volumes Affects Versions: 4.3.0 Reporter: Chris Suich Assignee: Kelven Yang Fix For: 4.3.0 When detaching VMware volumes, a call is first made to the hypervisor to remove all snapshots for that volume. After this happens, the path for the volume potentially changes, but isn't updated in the ACS DB, which causes problems when the call is made to actually detach the volume. For example, if the volume has a single snapshot, then the current path would be something like VOLUME-00001.vmdk which is a delta disk for VOLUME.vmdk. Once the snapshot is deleted, VOLUME-00001.vmdk is coalesced into VOLUME.vmdk, which becomes the active path. However, ACS still believes the correct path is VOLUME-00001.vmdk which causes the detach to fail. -- This message was sent by Atlassian JIRA (v6.1.5#6160)