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 A80581033D for ; Wed, 10 Dec 2014 23:25:14 +0000 (UTC) Received: (qmail 36299 invoked by uid 500); 10 Dec 2014 23:25:14 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 36189 invoked by uid 500); 10 Dec 2014 23:25:14 -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 36048 invoked by uid 500); 10 Dec 2014 23:25:14 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 36045 invoked by uid 99); 10 Dec 2014 23:25:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Dec 2014 23:25:14 +0000 Date: Wed, 10 Dec 2014 23:25:14 +0000 (UTC) From: "Min Chen (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-8061) Extracting volume when it is in migrating state causes both the operations to fail MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Min Chen created CLOUDSTACK-8061: ------------------------------------ Summary: Extracting volume when it is in migrating state causes both the operations to fail Key: CLOUDSTACK-8061 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8061 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Management Server Affects Versions: 4.4.0 Reporter: Min Chen Assignee: Min Chen Priority: Critical Fix For: 4.5.0 Extracting volume when it is in migrating state causes both the operations to fail Steps to Reproduce: ================ 1.Bring up CloudStack in advanced zone with xen cluster 2.Add two shared cluster level primary stores to the cluster 3.Deploy one vm using the default cent os template 4.Stop the vm 5.Migrate volume to another shared store 6.When the volume is in migrating state try to download the same volume. We will not see extract volume option in UI while volume is in migrating state. So please do it using API: http:/:8096/client/api?command=extractVolume&id=03f4a082-a96c-4195-b74b-7aa602926825&zoneid=f6c57314-d7df-417e-b994-c4a7c4e5b557&mode=HTTP_DOWNLOAD Expected Behavior: ================ If there is a race condition either of this operation should succeed. Or ExtractVolume job should wait for the migration job to finish and then execute extractvolume. Actual Behavior: ============= Both the operations are failed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)