Rayees Namathponnan created CLOUDSTACK-4216:
-----------------------------------------------
Summary: [Automation] Extract volume test case fails in BVT runs
Key: CLOUDSTACK-4216
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4216
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API, Automation
Affects Versions: 4.2.0
Reporter: Rayees Namathponnan
Fix For: 4.2.0
Test cases
integration.smoke.test_volumes.TestVolumes.test_06_download_detached_volume
failed in KVM run, please re-run the test to re-produce this test ; this test
was passing till the commit e87b1679cdc92bc3432b2751581be3fbdbdf0119
2013-07-13 00:28:37,514 DEBUG [storage.motion.AncientDataMotionStrategy]
(Job-Executor-115:job-114 = [ 69bd0a1b-2405-46a5-a2b4-fbcc432ebe54 ]) copyAsync
inspecting src type VOLUME copyAsync inspecting dest type VOLUME
2013-07-13 00:28:37,526 DEBUG [agent.transport.Request]
(Job-Executor-115:job-114 = [ 69bd0a1b-2405-46a5-a2b4-fbcc432ebe54 ]) Seq
2-1432289401: Sending { Cmd , MgmtId: 29066118877352, via: 2, Ver: v1, Flags:
100011,
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"3acddade-68ac-4c51-a36a-79093afb3976","volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"fff90cb5-06dd-33b3-8815-d78c08ca01d9","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/rayees/SC_QA_AUTO4/primary","port":2049}},"name":"TestDiskServ","size":1073741824,"path":"478eb535-72ff-4e69-ab05-c944637ccd1f","volumeId":35,"accountId":21,"format":"QCOW2","id":35,"hypervisorType":"KVM"}},"destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"3acddade-68ac-4c51-a36a-79093afb3976","volumeType":"DATADISK","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.223.110.232:/export/home/rayees/SC_QA_AUTO4/secondary","_role":"Image"}},"name":"TestDiskServ","size":1073741824,"path":"volumes/21/35","volumeId":35,"accountId":21,"format":"QCOW2","id":35,"hypervisorType":"KVM"}},"executeInSequence":false,"wait":10800}}]
}
2013-07-13 00:28:37,532 DEBUG [agent.transport.Request]
(AgentManager-Handler-15:null) Seq 2-1432289401: Processing: { Ans: , MgmtId:
29066118877352, via: 2, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.UnsupportedAnswer":{"result":false,"details":"Unsupported
command issued:org.apache.cloudstack.storage.command.CopyCommand. Are you
sure you got the right type of server?","wait":0}}] }
2013-07-13 00:28:37,532 DEBUG [agent.transport.Request]
(Job-Executor-115:job-114 = [ 69bd0a1b-2405-46a5-a2b4-fbcc432ebe54 ]) Seq
2-1432289401: Received: { Ans: , MgmtId: 29066118877352, via: 2, Ver: v1,
Flags: 10, { UnsupportedAnswer } }
2013-07-13 00:28:37,532 WARN [agent.manager.AgentManagerImpl]
(Job-Executor-115:job-114 = [ 69bd0a1b-2405-46a5-a2b4-fbcc432ebe54 ])
Unsupported Command: Unsupported command
issued:org.apache.cloudstack.storage.command.CopyCommand. Are you sure you got
the right type of server?
2013-07-13 00:28:37,537 WARN [storage.datastore.ObjectInDataStoreManagerImpl]
(Job-Executor-115:job-114 = [ 69bd0a1b-2405-46a5-a2b4-fbcc432ebe54 ])
Unsupported data object (VOLUME,
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@20bc704e), no need
to delete from object in store ref table
2013-07-13 00:28:37,549 ERROR [cloud.async.AsyncJobManagerImpl]
(Job-Executor-115:job-114 = [ 69bd0a1b-2405-46a5-a2b4-fbcc432ebe54 ])
Unexpected exception while executing
org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd
com.cloud.utils.exception.CloudRuntimeException: Failed to copy the volume from
the source primary storage pool to secondary storage.
at
com.cloud.storage.VolumeManagerImpl.extractVolume(VolumeManagerImpl.java:2809)
at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at
org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd.execute(ExtractVolumeCmd.java:130)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
at
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
2013-07-13 00:28:37,551 DEBUG [cloud.async.AsyncJobManagerImpl]
(Job-Executor-115:job-114 = [ 69bd0a1b-2405-46a5-a2b4-fbcc432ebe54 ]) Complete
async job-114 = [ 69bd0a1b-2405-46a5-a2b4-fbcc432ebe54 ], jobStatus: 2,
resultCode: 530, result: Error Code: 530 Error text: Failed to copy the volume
from the source primary storage pool to secondary storage.
2013-07-13 00:28:37,597 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null)
===START=== 10.223.240.194 -- GET
signature=CP7l0IN74Z9o6asN4BnOTGdmo64%3D&apiKey=-sI_ssiKDKw-kBxUNzCMCmLmKnoRzuRjUyWnFjY8EFCXZx-zqx9jwTYL9h3vOmgVmtuGSHvmJGfPC3Bv6Sm-9g&command=queryAsyncJobResult&response=json&jobid=9bd102cd-d02f-435a-b415-dd0903ca2bd7
2013-07-13 00:28:37,611 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null)
===END=== 10.223.240.194 -- GET
signature=CP7l0IN74Z9o6asN4BnOTGdmo64%3D&apiKey=-sI_ssiKDKw-kBxUNzCMCmLmKnoRzuRjUyWnFjY8EFCXZx-zqx9jwTYL9h3vOmgVmtuGSHvmJGfPC3Bv6Sm-9g&command=queryAsyncJobResult&response=jso:
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira