cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitin Mehta (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-3993) extract volume is failing
Date Thu, 01 Aug 2013 06:05:52 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-3993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nitin Mehta resolved CLOUDSTACK-3993.
-------------------------------------

    Resolution: Incomplete

Can you please provide more info ?

Was this consistently reproducible ?
What was the setup like ?
DB dump ?
MS logs ?
                
> extract volume is failing
> -------------------------
>
>                 Key: CLOUDSTACK-3993
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3993
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Volumes
>    Affects Versions: 4.2.0
>         Environment: xenserver
>            Reporter: Srikanteswararao Talluri
>            Assignee: Nitin Mehta
>            Priority: Blocker
>              Labels: automation
>             Fix For: 4.2.0
>
>
> Steps to reproduce:
> ==============
> 1. Try to download a detached data volume.
> ===START===  10.101.255.7 -- GET  command=extractVolume&id=800bf2fc-b4fd-4b69-b250-9c5785ca75e2&zoneid=5475dc76-d002-44bc-b438-e76fe6bcf615&mode=HTTP_DOWNLOAD&response=json&sessionkey=B31P%2BLbF96sXG%2FZhzMO0%2F%2FeChqA%3D&_=1375330393308
> 2013-08-01 15:06:11,092 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-5:null)
submit async job-1295 = [ 128f448b-7f4a-4cde-a424-08f4f629bfc3 ], details: AsyncJobVO {id:1295,
userId: 2, accountId: 2, sessionKey: null, instanceType: Volume, instanceId: 379, cmd: org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd,
cmdOriginator: null, cmdInfo: {"id":"800bf2fc-b4fd-4b69-b250-9c5785ca75e2","response":"json","sessionkey":"B31P+LbF96sXG/ZhzMO0//eChqA\u003d","cmdEventType":"VOLUME.EXTRACT","ctxUserId":"2","zoneid":"5475dc76-d002-44bc-b438-e76fe6bcf615","httpmethod":"GET","_":"1375330393308","ctxAccountId":"2","ctxStartEventId":"5566","mode":"HTTP_DOWNLOAD"},
cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode:
0, result: null, initMsid: 7566222426160, completeMsid: null, lastUpdated: null, lastPolled:
null, created: null}
> 2013-08-01 15:06:11,095 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) ===END===
 10.101.255.7 -- GET  command=extractVolume&id=800bf2fc-b4fd-4b69-b250-9c5785ca75e2&zoneid=5475dc76-d002-44bc-b438-e76fe6bcf615&mode=HTTP_DOWNLOAD&response=json&sessionkey=B31P%2BLbF96sXG%2FZhzMO0%2F%2FeChqA%3D&_=1375330393308
> 2013-08-01 15:06:11,098 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-130:job-1295
= [ 128f448b-7f4a-4cde-a424-08f4f629bfc3 ]) Executing org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd
for job-1295 = [ 128f448b-7f4a-4cde-a424-08f4f629bfc3 ]
> 2013-08-01 15:06:11,193 DEBUG [storage.motion.AncientDataMotionStrategy] (Job-Executor-130:job-1295
= [ 128f448b-7f4a-4cde-a424-08f4f629bfc3 ]) copyAsync inspecting src type VOLUME copyAsync
inspecting dest type VOLUME
> 2013-08-01 15:06:11,215 DEBUG [agent.transport.Request] (Job-Executor-130:job-1295 =
[ 128f448b-7f4a-4cde-a424-08f4f629bfc3 ]) Seq 1-1446510799: Sending  { Cmd , MgmtId: 7566222426160,
via: 1, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"800bf2fc-b4fd-4b69-b250-9c5785ca75e2","volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"dfd58d93-f4f2-34f7-b5f0-bfd69b6aaebe","id":3,"poolType":"NetworkFilesystem","host":"10.147.28.8","path":"/vol/dgVol/automation/adv/primary","port":2049}},"name":"ty","size":5368709120,"path":"3b66ecb2-a367-45d7-acfe-c5c77ebfa725","volumeId":379,"accountId":2,"format":"VHD","id":379,"hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"800bf2fc-b4fd-4b69-b250-9c5785ca75e2","volumeType":"DATADISK","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.147.28.7/vol/dgVol/automation/adv/secondary","_role":"Image"}},"name":"ty","size":5368709120,"path":"volumes/2/379","volumeId":379,"accountId":2,"format":"VHD","id":379,"hypervisorType":"XenServer"}},"executeInSequence":false,"wait":10800}}]
}
> 2013-08-01 15:06:11,216 DEBUG [agent.transport.Request] (Job-Executor-130:job-1295 =
[ 128f448b-7f4a-4cde-a424-08f4f629bfc3 ]) Seq 1-1446510799: Executing:  { Cmd , MgmtId: 7566222426160,
via: 1, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"800bf2fc-b4fd-4b69-b250-9c5785ca75e2","volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"dfd58d93-f4f2-34f7-b5f0-bfd69b6aaebe","id":3,"poolType":"NetworkFilesystem","host":"10.147.28.8","path":"/vol/dgVol/automation/adv/primary","port":2049}},"name":"ty","size":5368709120,"path":"3b66ecb2-a367-45d7-acfe-c5c77ebfa725","volumeId":379,"accountId":2,"format":"VHD","id":379,"hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"800bf2fc-b4fd-4b69-b250-9c5785ca75e2","volumeType":"DATADISK","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.147.28.7/vol/dgVol/automation/adv/secondary","_role":"Image"}},"name":"ty","size":5368709120,"path":"volumes/2/379","volumeId":379,"accountId":2,"format":"VHD","id":379,"hypervisorType":"XenServer"}},"executeInSequence":false,"wait":10800}}]
}
> 2013-08-01 15:06:11,217 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-373:null)
Seq 1-1446510799: Executing request
> 2013-08-01 15:06:11,549 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-373:null)
callHostPlugin failed for cmd: create_secondary_storage_folder with args remoteMountPath:
10.147.28.7:/vol/dgVol/automation/adv/secondary, newFolder: volumes/2/379,  due to There was
a failure communicating with the plugin.
> 2013-08-01 15:06:11,550 DEBUG [xen.resource.XenServerStorageProcessor] (DirectAgent-373:null)
Failed to copy volume to secondary: com.cloud.utils.exception.CloudRuntimeException: callHostPlugin
failed for cmd: create_secondary_storage_folder with args remoteMountPath: 10.147.28.7:/vol/dgVol/automation/adv/secondary,
newFolder: volumes/2/379,  due to There was a failure communicating with the plugin.
> 2013-08-01 15:06:11,550 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-373:null)
Seq 1-1446510799: Response Received: 
> 2013-08-01 15:06:11,551 DEBUG [agent.transport.Request] (DirectAgent-373:null) Seq 1-1446510799:
Processing:  { Ans: , MgmtId: 7566222426160, via: 1, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"Failed
to copy volume to secondary: com.cloud.utils.exception.CloudRuntimeException: callHostPlugin
failed for cmd: create_secondary_storage_folder with args remoteMountPath: 10.147.28.7:/vol/dgVol/automation/adv/secondary,
newFolder: volumes/2/379,  due to There was a failure communicating with the plugin.","wait":0}}]
}
> 2013-08-01 15:06:11,551 DEBUG [agent.transport.Request] (Job-Executor-130:job-1295 =
[ 128f448b-7f4a-4cde-a424-08f4f629bfc3 ]) Seq 1-1446510799: Received:  { Ans: , MgmtId: 7566222426160,
via: 1, Ver: v1, Flags: 10, { CopyCmdAnswer } }
> 2013-08-01 15:06:11,585 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-130:job-1295
= [ 128f448b-7f4a-4cde-a424-08f4f629bfc3 ]) 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:2793)
> 	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-08-01 15:06:11,589 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-130:job-1295
= [ 128f448b-7f4a-4cde-a424-08f4f629bfc3 ]) Complete async job-1295 = [ 128f448b-7f4a-4cde-a424-08f4f629bfc3
], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to copy the volume
from the source primary storage pool to secondary storage.

--
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

Mime
View raw message