[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14038309#comment-14038309
 ] 

Girish Shilamkar edited comment on CLOUDSTACK-6875 at 6/20/14 4:05 AM:
-----------------------------------------------------------------------

Could reproduce only once, not every time. The log tracks back to qemu command 
issue:

Log:
2014-06-19 07:43:09,198 ERROR [c.c.a.ApiAsyncJobDispatcher] 
(API-Job-Executor-40:ctx-c775dc91 job-7728) Unexpected exception while 
executing org.apache.cloudstack.api.
command.admin.volume.AttachVolumeCmdByAdmin
java.lang.RuntimeException: Unexpected exception
        at 
com.cloud.storage.VolumeApiServiceImpl.attachVolumeToVM(VolumeApiServiceImpl.java:1045)
        at sun.reflect.GeneratedMethodAccessor669.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at com.sun.proxy.$Proxy182.attachVolumeToVM(Unknown Source)
        at 
org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin.execute(AttachVolumeCmdByAdmin.java:38)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
        at 
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
        at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
        at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
        at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.RuntimeException: Job failed due to exception Failed to 
attach volume Test Volume to VM VM-43cf6765-bf73-4c3f-a1b3-24214d7dee93; 
org.libvirt.Libvi
rtException: internal error unable to execute QEMU command 
'__com.redhat_drive_add': Duplicate ID 'drive-virtio-disk1' for drive
        ... 25 more
2014-06-19 07:43:09,199 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-40:ctx-c775dc91 job-7728) Complete async job-7728, jobStatus: 
FAILED, resultCode: 530
, result: 
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Unexpected
 exception"}
2014-06-19 07:43:09,199 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(Work-Job-Executor-80:ctx-830fcb84 job-7728/job-7729) Remove job-7729 from job 
monitoring
2014-06-19 07:43:09,203 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-40:ctx-c775dc91 job-7728) Done executing 
org.apache.cloudstack.api.command.admin.volu
me.AttachVolumeCmdByAdmin for job-7728
2014-06-19 07:43:09,207 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(API-Job-Executor-40:ctx-c775dc91 job-7728) Remove job-7728 from job monitoring
2014-06-19 07:43:09,655 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentManager-Handler-6:null) SeqA 9-9704: Processing Seq 9-9704:  { Cmd , 
MgmtId: -1, via: 9, Ver: v1, Flags:
 11, 
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":80,"_loadInfo":"{\n
  \"connections\": []\n}","wait":0}}] }
2014-06-19 07:43:09,659 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentManager-Handler-6:null) SeqA 9-9704: Sending Seq 9-9704:  { Ans: , 
MgmtId: 29066118877352, via: 9, Ver:
v1, Flags: 100010, 
[{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }


was (Author: gpshilamkar):
Could not reproduce this issue.

> test_volumes.TestVolumes.test_09_delete_detached_volume is failing on 
> simulator runs
> ------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6875
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6875
>             Project: CloudStack
>          Issue Type: Sub-task
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation
>            Reporter: Bharat Kumar
>            Assignee: Girish Shilamkar
>
> Error Message
> Job failed: {jobprocstatus : 0, created : u'2014-06-08T20:26:20-0700', cmd : 
> u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', 
> userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 2, jobid : 
> u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 530, jobresulttype : 
> u'object', jobresult : {errorcode : 530, errortext : u'Unexpected 
> exception'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> -------------------- >> begin captured stdout << ---------------------
> === TestName: test_09_delete_detached_volume | Status : EXCEPTION ===
> --------------------- >> end captured stdout << ----------------------
> -------------------- >> begin captured logging << --------------------
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: ::::::::::::STARTED : TC: test_09_delete_detached_volume :::::::::::
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: Delete Volume ID: 24051890-92ad-4cee-8ca3-119d278b072a
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: Payload: {'account': u'test-account-TestCreateVolume-N2SRV2', 
> 'domainid': u'36a27fb8-ef83-11e3-a86b-00163e0af42c', 'name': 'Test Volume', 
> 'zoneid': u'ef5040e4-6e78-433b-a21a-656a7ab31e80', 'apiKey': 
> u'Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ',
>  'command': 'createVolume', 'signature': 'O0mZxBTYte8bIWPhtBYKUycq8Yo=', 
> 'diskofferingid': u'92b2888e-c624-4042-82b4-632bed2bb38d', 'response': 'json'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: ========Sending GET Cmd : createVolume=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
> (1): 172.16.88.23
> requests.packages.urllib3.connectionpool: DEBUG: "GET 
> /client/api?account=test-account-TestCreateVolume-N2SRV2&domainid=36a27fb8-ef83-11e3-a86b-00163e0af42c&name=Test+Volume&zoneid=ef5040e4-6e78-433b-a21a-656a7ab31e80&apiKey=Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ&command=createVolume&signature=O0mZxBTYte8bIWPhtBYKUycq8Yo%3D&diskofferingid=92b2888e-c624-4042-82b4-632bed2bb38d&response=json
>  HTTP/1.1" 200 121
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: === Jobid: 2249fb73-7560-4d22-a7f9-dba0507b096e Started ===
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: Payload: {'signature': '8di/lZIPnn9qCgFh0fHVVrH7/8U=', 'apiKey': 
> u'Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ',
>  'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': 
> u'2249fb73-7560-4d22-a7f9-dba0507b096e'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
> (1): 172.16.88.23
> requests.packages.urllib3.connectionpool: DEBUG: "GET 
> /client/api?jobid=2249fb73-7560-4d22-a7f9-dba0507b096e&apiKey=Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ&command=queryAsyncJobResult&response=json&signature=8di%2FlZIPnn9qCgFh0fHVVrH7%2F8U%3D
>  HTTP/1.1" 200 430
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: Response : {jobprocstatus : 0, created : u'2014-06-08T20:26:14-0700', 
> cmd : 
> u'org.apache.cloudstack.api.command.admin.volume.CreateVolumeCmdByAdmin', 
> userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 0, jobid : 
> u'2249fb73-7560-4d22-a7f9-dba0507b096e', jobresultcode : 0, jobinstanceid : 
> u'c936802c-42f3-4ff3-9eb2-dd003517a8ef', jobinstancetype : u'Volume', 
> accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: === JobId:2249fb73-7560-4d22-a7f9-dba0507b096e is Still Processing, 
> Will TimeOut in:3595 ====
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: Payload: {'signature': '8di/lZIPnn9qCgFh0fHVVrH7/8U=', 'apiKey': 
> u'Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ',
>  'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': 
> u'2249fb73-7560-4d22-a7f9-dba0507b096e'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
> (1): 172.16.88.23
> requests.packages.urllib3.connectionpool: DEBUG: "GET 
> /client/api?jobid=2249fb73-7560-4d22-a7f9-dba0507b096e&apiKey=Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ&command=queryAsyncJobResult&response=json&signature=8di%2FlZIPnn9qCgFh0fHVVrH7%2F8U%3D
>  HTTP/1.1" 200 1075
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: Response : {jobprocstatus : 0, created : u'2014-06-08T20:26:14-0700', 
> cmd : 
> u'org.apache.cloudstack.api.command.admin.volume.CreateVolumeCmdByAdmin', 
> userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 1, jobid : 
> u'2249fb73-7560-4d22-a7f9-dba0507b096e', jobresultcode : 0, jobresulttype : 
> u'object', jobresult : {domain : u'ROOT', domainid : 
> u'36a27fb8-ef83-11e3-a86b-00163e0af42c', jobstatus : 0, zoneid : 
> u'ef5040e4-6e78-433b-a21a-656a7ab31e80', quiescevm : False, id : 
> u'c936802c-42f3-4ff3-9eb2-dd003517a8ef', size : 1073741824, diskofferingname 
> : u'Disk offering', diskofferingdisplaytext : u'Disk offering', displayvolume 
> : True, destroyed : False, state : u'Allocated', type : u'DATADISK', zonename 
> : u'Sandbox-simulator', tags : [], isextractable : True, account : 
> u'test-account-TestCreateVolume-N2SRV2', name : u'Test Volume', created : 
> u'2014-06-08T20:26:14-0700', storagetype : u'shared', hypervisor : u'None', 
> jobid : u'2249fb73-7560-4d22-a7f9-dba0507b096e', diskofferingid : 
> u'92b2888e-c624-4042-82b4-632bed2bb38d'}, accountid : 
> u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: ===Jobid:2249fb73-7560-4d22-a7f9-dba0507b096e ; StartTime:Mon Jun  9 
> 09:00:53 2014 ; EndTime:Mon Jun  9 09:00:58 2014 ; TotalTime:-5===
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: Response : {jobprocstatus : 0, created : u'2014-06-08T20:26:14-0700', 
> cmd : 
> u'org.apache.cloudstack.api.command.admin.volume.CreateVolumeCmdByAdmin', 
> userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 1, jobid : 
> u'2249fb73-7560-4d22-a7f9-dba0507b096e', jobresultcode : 0, jobresulttype : 
> u'object', jobresult : {domain : u'ROOT', domainid : 
> u'36a27fb8-ef83-11e3-a86b-00163e0af42c', jobstatus : 0, zoneid : 
> u'ef5040e4-6e78-433b-a21a-656a7ab31e80', quiescevm : False, id : 
> u'c936802c-42f3-4ff3-9eb2-dd003517a8ef', size : 1073741824, diskofferingname 
> : u'Disk offering', diskofferingdisplaytext : u'Disk offering', displayvolume 
> : True, destroyed : False, state : u'Allocated', type : u'DATADISK', zonename 
> : u'Sandbox-simulator', tags : [], isextractable : True, account : 
> u'test-account-TestCreateVolume-N2SRV2', name : u'Test Volume', created : 
> u'2014-06-08T20:26:14-0700', storagetype : u'shared', hypervisor : u'None', 
> jobid : u'2249fb73-7560-4d22-a7f9-dba0507b096e', diskofferingid : 
> u'92b2888e-c624-4042-82b4-632bed2bb38d'}, accountid : 
> u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: Payload: {'apiKey': 
> u'Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ',
>  'virtualmachineid': u'c7e706f4-2eb6-4e18-87e7-70e072af4303', 'id': 
> u'c936802c-42f3-4ff3-9eb2-dd003517a8ef', 'command': 'attachVolume', 
> 'signature': 'jfMs+KTsPPP0jNtV3dnYINULzC8=', 'response': 'json'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: ========Sending GET Cmd : attachVolume=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
> (1): 172.16.88.23
> requests.packages.urllib3.connectionpool: DEBUG: "GET 
> /client/api?apiKey=Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ&virtualmachineid=c7e706f4-2eb6-4e18-87e7-70e072af4303&id=c936802c-42f3-4ff3-9eb2-dd003517a8ef&command=attachVolume&signature=jfMs%2BKTsPPP0jNtV3dnYINULzC8%3D&response=json
>  HTTP/1.1" 200 77
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: === Jobid: b263a941-29b1-4ab8-9c00-7a0d2678b591 Started ===
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: Payload: {'signature': 'r7pZh62FRXQYsXPhrUxxJfiiPTs=', 'apiKey': 
> u'Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ',
>  'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': 
> u'b263a941-29b1-4ab8-9c00-7a0d2678b591'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
> (1): 172.16.88.23
> requests.packages.urllib3.connectionpool: DEBUG: "GET 
> /client/api?jobid=b263a941-29b1-4ab8-9c00-7a0d2678b591&apiKey=Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ&command=queryAsyncJobResult&response=json&signature=r7pZh62FRXQYsXPhrUxxJfiiPTs%3D
>  HTTP/1.1" 200 430
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: Response : {jobprocstatus : 0, created : u'2014-06-08T20:26:20-0700', 
> cmd : 
> u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', 
> userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 0, jobid : 
> u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 0, jobinstanceid : 
> u'c936802c-42f3-4ff3-9eb2-dd003517a8ef', jobinstancetype : u'Volume', 
> accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: === JobId:b263a941-29b1-4ab8-9c00-7a0d2678b591 is Still Processing, 
> Will TimeOut in:3595 ====
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: Payload: {'signature': 'r7pZh62FRXQYsXPhrUxxJfiiPTs=', 'apiKey': 
> u'Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ',
>  'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': 
> u'b263a941-29b1-4ab8-9c00-7a0d2678b591'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
> (1): 172.16.88.23
> requests.packages.urllib3.connectionpool: DEBUG: "GET 
> /client/api?jobid=b263a941-29b1-4ab8-9c00-7a0d2678b591&apiKey=Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ&command=queryAsyncJobResult&response=json&signature=r7pZh62FRXQYsXPhrUxxJfiiPTs%3D
>  HTTP/1.1" 200 440
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: Response : {jobprocstatus : 0, created : u'2014-06-08T20:26:20-0700', 
> cmd : 
> u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', 
> userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 2, jobid : 
> u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 530, jobresulttype : 
> u'object', jobresult : {errorcode : 530, errortext : u'Unexpected 
> exception'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> ERROR: ==== __poll: Exception Occurred :Job failed: {jobprocstatus : 0, 
> created : u'2014-06-08T20:26:20-0700', cmd : 
> u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', 
> userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 2, jobid : 
> u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 530, jobresulttype : 
> u'object', jobresult : {errorcode : 530, errortext : u'Unexpected 
> exception'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'} ====
> Traceback (most recent call last):
>   File 
> "/automation/virtenv/00-16-3e-0a-f4-2c/611/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
>  line 105, in __poll
>     % async_response)
> Exception: Job failed: {jobprocstatus : 0, created : 
> u'2014-06-08T20:26:20-0700', cmd : 
> u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', 
> userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 2, jobid : 
> u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 530, jobresulttype : 
> u'object', jobresult : {errorcode : 530, errortext : u'Unexpected 
> exception'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> DEBUG: Response : FAILED
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> ERROR: marvinRequest : CmdName: 
> <marvin.cloudstackAPI.attachVolume.attachVolumeCmd object at 0x249b7d0> 
> Exception: ['Traceback (most recent call last):\n', '  File 
> "/automation/virtenv/00-16-3e-0a-f4-2c/611/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
>  line 373, in marvinRequest\n    raise self.__lastError\n', "Exception: Job 
> failed: {jobprocstatus : 0, created : u'2014-06-08T20:26:20-0700', cmd : 
> u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', 
> userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 2, jobid : 
> u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 530, jobresulttype : 
> u'object', jobresult : {errorcode : 530, errortext : u'Unexpected 
> exception'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}\n"]
> Traceback (most recent call last):
>   File 
> "/automation/virtenv/00-16-3e-0a-f4-2c/611/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
>  line 373, in marvinRequest
>     raise self.__lastError
> Exception: Job failed: {jobprocstatus : 0, created : 
> u'2014-06-08T20:26:20-0700', cmd : 
> u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', 
> userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 2, jobid : 
> u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 530, jobresulttype : 
> u'object', jobresult : {errorcode : 530, errortext : u'Unexpected 
> exception'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): 
> CRITICAL: EXCEPTION: test_09_delete_detached_volume: ['Traceback (most recent 
> call last):\n', '  File "/usr/local/lib/python2.7/unittest/case.py", line 
> 331, in run\n    testMethod()\n', '  File 
> "/automation/virtenv/00-16-3e-0a-f4-2c/611/test/integration/smoke/test_volumes.py",
>  line 731, in test_09_delete_detached_volume\n    
> self.virtual_machine.attach_volume(self.apiClient, self.volume_1)\n', '  File 
> "/automation/virtenv/00-16-3e-0a-f4-2c/611/testenv/lib/python2.7/site-packages/marvin/lib/base.py",
>  line 647, in attach_volume\n    return apiclient.attachVolume(cmd)\n', '  
> File 
> "/automation/virtenv/00-16-3e-0a-f4-2c/611/testenv/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
>  line 1565, in attachVolume\n    response = 
> self.connection.marvinRequest(command, response_type=response, 
> method=method)\n', '  File 
> "/automation/virtenv/00-16-3e-0a-f4-2c/611/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
>  line 378, in marvinRequest\n    raise e\n', "Exception: Job failed: 
> {jobprocstatus : 0, created : u'2014-06-08T20:26:20-0700', cmd : 
> u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', 
> userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 2, jobid : 
> u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 530, jobresulttype : 
> u'object', jobresult : {errorcode : 530, errortext : u'Unexpected 
> exception'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}\n"]



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to