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:/<host>: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)