Github user nvazquez commented on the issue:
https://github.com/apache/cloudstack/pull/1754
@rhtyd adding to @serg38's comment, in test_06_download_detached_volume
extractVolumeCmd fails with this error:
`Invalid state of the volume with specified ID. It should be either
detached or the VM should be in stopped state.`
```
2016-11-23 19:27:57,454 - DEBUG - ========Sending GET Cmd :
extractVolume=======
2016-11-23 19:27:57,522 - DEBUG - === Jobid:
7579b5d3-c855-4ccd-9830-d4129c363016 Started ===
2016-11-23 19:27:57,522 - DEBUG - Payload: {'signature':
'nEFfv6toUVO3tVUul9Kuud0aF0Q=', 'apiKey':
u'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
u'7579b5d3-c855-4ccd-9830-d4129c363016'}
2016-11-23 19:27:57,522 - DEBUG - ========Sending GET Cmd :
queryAsyncJobResult=======
2016-11-23 19:27:57,543 - DEBUG - Response : {jobprocstatus : 0, created :
u'2016-11-23T19:27:55+0000', cmd :
u'org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd', userid :
u'7ad6e032-b175-11e6-a92a-060292010740', jobstatus : 0, jobid :
u'7579b5d3-c855-4ccd-9830-d4129c363016', jobresultcode : 0, jobinstanceid :
u'868de86b-cabc-4426-ad1f-d475c0ed23f4', jobinstancetype : u'Volume', accountid
: u'7ad6d754-b175-11e6-a92a-060292010740'}
2016-11-23 19:28:02,549 - DEBUG - ===
JobId:7579b5d3-c855-4ccd-9830-d4129c363016 is Still Processing, Will TimeOut
in:3595 ====
2016-11-23 19:28:02,549 - DEBUG - Payload: {'signature':
'nEFfv6toUVO3tVUul9Kuud0aF0Q=', 'apiKey':
u'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
u'7579b5d3-c855-4ccd-9830-d4129c363016'}
2016-11-23 19:28:02,549 - DEBUG - ========Sending GET Cmd :
queryAsyncJobResult=======
2016-11-23 19:28:02,571 - DEBUG - Response : {jobprocstatus : 0, created :
u'2016-11-23T19:27:55+0000', jobresult : {errorcode : 530, errortext :
u'Invalid state of the volume with specified ID. It should be either detached
or the VM should be in stopped state.'}, cmd :
u'org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd', userid :
u'7ad6e032-b175-11e6-a92a-060292010740', jobstatus : 2, jobid :
u'7579b5d3-c855-4ccd-9830-d4129c363016', jobresultcode : 530, jobinstanceid :
u'868de86b-cabc-4426-ad1f-d475c0ed23f4', jobresulttype : u'object',
jobinstancetype : u'Volume', accountid :
u'7ad6d754-b175-11e6-a92a-060292010740'}
2016-11-23 19:28:02,571 - ERROR - ==== __poll: Exception Occurred :Job
failed: {jobprocstatus : 0, created : u'2016-11-23T19:27:55+0000', jobresult :
{errorcode : 530, errortext : u'Invalid state of the volume with specified ID.
It should be either detached or the VM should be in stopped state.'}, cmd :
u'org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd', userid :
u'7ad6e032-b175-11e6-a92a-060292010740', jobstatus : 2, jobid :
u'7579b5d3-c855-4ccd-9830-d4129c363016', jobresultcode : 530, jobinstanceid :
u'868de86b-cabc-4426-ad1f-d475c0ed23f4', jobresulttype : u'object',
jobinstancetype : u'Volume', accountid :
u'7ad6d754-b175-11e6-a92a-060292010740'} ====
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---