You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sateesh Chodapuneedi (JIRA)" <ji...@apache.org> on 2013/07/27 14:03:48 UTC

[jira] [Closed] (CLOUDSTACK-3615) [VMware] [ZWPS][Storage Controller] Download volume fails with NPE in ExtractVolumeCmd.

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

Sateesh Chodapuneedi closed CLOUDSTACK-3615.
--------------------------------------------


Verified with latest build. Reported issue is resolved.
                
> [VMware] [ZWPS][Storage Controller] Download volume fails with NPE in ExtractVolumeCmd.
> ---------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3615
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3615
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Storage Controller, VMware
>    Affects Versions: 4.2.0
>            Reporter: Sateesh Chodapuneedi
>            Assignee: Sateesh Chodapuneedi
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Created advance zone over VMware with Zone wide primary storage.
> Created user vm.
> created snapshot of data volume
> Created volume from snapshot
> Tried to download this volume as it failed.
> 2013-07-18 00:32:21,924 DEBUG [cloud.async.AsyncJobManagerImpl] (12752605@qtp-24763039-6:ctx-2747f65f) submit async job-72 = [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ], details: AsyncJobVO {id:72, userId: 2, accountId: 2, sessionKey: null, instanceType: Volume, instanceId: 25, cmd: org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd, cmdOriginator: null, cmdInfo: {"id":"3d49301d-855d-41ff-9c8f-bf6b68a91623","response":"json","sessionkey":"46f5Sbdzfish1SoPMQWmdImy5sY\u003d","cmdEventType":"VOLUME.EXTRACT","ctxUserId":"2","zoneid":"ae642439-ee77-4c2c-9e74-bd5095efc760","httpmethod":"GET","_":"1374087773146","ctxAccountId":"2","ctxStartEventId":"239","mode":"HTTP_DOWNLOAD"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 227080256212965, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
> 2013-07-18 00:32:21,945 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-6:job-72 = [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ]) Executing org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd for job-72 = [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ]
> 2013-07-18 00:32:21,948 DEBUG [cloudstack.context.CallContext] (Job-Executor-6:job-72 = [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ] ctx-d664ddd6) Setting calling context: CallContext[acct=2; user=2; session=d664ddd6-e4ac-4bd5-a55b-c4e0355e669d]
> 2013-07-18 00:32:22,015 DEBUG [storage.motion.AncientDataMotionStrategy] (Job-Executor-6:job-72 = [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ] ctx-d664ddd6) copyAsync inspecting src type VOLUME copyAsync inspecting dest type VOLUME
> 2013-07-18 00:32:22,041 DEBUG [agent.transport.Request] (Job-Executor-6:job-72 = [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ] ctx-d664ddd6) Seq 3-1856307220: Sending  { Cmd , MgmtId: 227080256212965, via: 3, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"3d49301d-855d-41ff-9c8f-bf6b68a91623","volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"7b2ba866-ca87-3954-a935-a354f3889574","id":1,"poolType":"NetworkFilesystem","host":"10.102.192.100","path":"/cpg_vol/sree/p2","port":2049}},"name":"vfromd7-snp2","size":3821,"path":"eb72cc84e1554166a1d32ba749fb15c9","volumeId":25,"accountId":2,"format":"OVA","id":25}},"destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"3d49301d-855d-41ff-9c8f-bf6b68a91623","volumeType":"DATADISK","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.102.192.100/cpg_vol/sree/ss1","_role":"Image"}},"name":"vfromd7-snp2","size":3821,"path":"volumes/2/25","volumeId":25,"accountId":2,"format":"OVA","id":25}},"executeInSequence":false,"wait":10800}}] }
> 2013-07-18 00:32:22,100 DEBUG [agent.transport.Request] (Job-Executor-6:job-72 = [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ] ctx-d664ddd6) Seq 3-1856307220: Received:  { Ans: , MgmtId: 227080256212965, via: 3, Ver: v1, Flags: 10, { Answer } }
> 2013-07-18 00:34:53,380 DEBUG [cloudstack.context.CallContext] (Job-Executor-6:job-72 = [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ] ctx-d664ddd6) Context removed CallContext[acct=2; user=2; session=d664ddd6-e4ac-4bd5-a55b-c4e0355e669d]
> 2013-07-18 00:34:53,380 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-6:job-72 = [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd
> 2013-07-18 00:34:53,383 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-6:job-72 = [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ]) Complete async job-72 = [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: null
> 2013-07-18 00:34:55,066 DEBUG [cloud.async.AsyncJobManagerImpl] (12752605@qtp-24763039-6:ctx-0fa62422) Async job-72 = [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ] completed
> 2013-07-18 00:34:53,380 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-6:job-72 = [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd
> java.lang.NullPointerException
>     at com.cloud.storage.VolumeManagerImpl.getFormatForPool(VolumeManagerImpl.java:2812)
>     at com.cloud.storage.VolumeManagerImpl.extractVolume(VolumeManagerImpl.java:2795)
>     at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>     at org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd.execute(ExtractVolumeCmd.java:131)
>     at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>     at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:538)
>     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:1146)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:679)

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