Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B754D10F26 for ; Sat, 27 Jul 2013 12:03:48 +0000 (UTC) Received: (qmail 31544 invoked by uid 500); 27 Jul 2013 12:03:48 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 31367 invoked by uid 500); 27 Jul 2013 12:03:48 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 31347 invoked by uid 500); 27 Jul 2013 12:03:48 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 31341 invoked by uid 99); 27 Jul 2013 12:03:47 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jul 2013 12:03:47 +0000 Date: Sat, 27 Jul 2013 12:03:47 +0000 (UTC) From: "Sateesh Chodapuneedi (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-3615) [VMware] [ZWPS][Storage Controller] Download volume fails with NPE in ExtractVolumeCmd. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-3615?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sateesh Chodapuneedi resolved CLOUDSTACK-3615. ---------------------------------------------- Resolution: Fixed Fixed with commit ed46a64addebf61f27b571e55e57472237e9934b =20 > [VMware] [ZWPS][Storage Controller] Download volume fails with NPE in Ext= ractVolumeCmd. > -------------------------------------------------------------------------= -------------- > > Key: CLOUDSTACK-3615 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-361= 5 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > 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 =3D [ 4a9b985e-8ce3-4f7a-= ad94-042e470859e2 ], details: AsyncJobVO {id:72, userId: 2, accountId: 2, s= essionKey: null, instanceType: Volume, instanceId: 25, cmd: org.apache.clou= dstack.api.command.user.volume.ExtractVolumeCmd, cmdOriginator: null, cmdIn= fo: {"id":"3d49301d-855d-41ff-9c8f-bf6b68a91623","response":"json","session= key":"46f5Sbdzfish1SoPMQWmdImy5sY\u003d","cmdEventType":"VOLUME.EXTRACT","c= txUserId":"2","zoneid":"ae642439-ee77-4c2c-9e74-bd5095efc760","httpmethod":= "GET","_":"1374087773146","ctxAccountId":"2","ctxStartEventId":"239","mode"= :"HTTP_DOWNLOAD"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, s= tatus: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 22708025= 6212965, completeMsid: null, lastUpdated: null, lastPolled: null, created: = null} > 2013-07-18 00:32:21,945 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Exec= utor-6:job-72 =3D [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ]) Executing org.a= pache.cloudstack.api.command.user.volume.ExtractVolumeCmd for job-72 =3D [ = 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ] > 2013-07-18 00:32:21,948 DEBUG [cloudstack.context.CallContext] (Job-Execu= tor-6:job-72 =3D [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ] ctx-d664ddd6) Set= ting calling context: CallContext[acct=3D2; user=3D2; session=3Dd664ddd6-e4= ac-4bd5-a55b-c4e0355e669d] > 2013-07-18 00:32:22,015 DEBUG [storage.motion.AncientDataMotionStrategy] = (Job-Executor-6:job-72 =3D [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ] ctx-d66= 4ddd6) copyAsync inspecting src type VOLUME copyAsync inspecting dest type = VOLUME > 2013-07-18 00:32:22,041 DEBUG [agent.transport.Request] (Job-Executor-6:j= ob-72 =3D [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ] ctx-d664ddd6) Seq 3-1856= 307220: Sending { Cmd , MgmtId: 227080256212965, via: 3, Ver: v1, Flags: 1= 00011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org= .apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"3d49301d-855d-41ff-9= c8f-bf6b68a91623","volumeType":"DATADISK","dataStore":{"org.apache.cloudsta= ck.storage.to.PrimaryDataStoreTO":{"uuid":"7b2ba866-ca87-3954-a935-a354f388= 9574","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":{"u= uid":"3d49301d-855d-41ff-9c8f-bf6b68a91623","volumeType":"DATADISK","dataSt= ore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.102.192.100/cpg_vol/= sree/ss1","_role":"Image"}},"name":"vfromd7-snp2","size":3821,"path":"volum= es/2/25","volumeId":25,"accountId":2,"format":"OVA","id":25}},"executeInSeq= uence":false,"wait":10800}}] } > 2013-07-18 00:32:22,100 DEBUG [agent.transport.Request] (Job-Executor-6:j= ob-72 =3D [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ] ctx-d664ddd6) Seq 3-1856= 307220: Received: { Ans: , MgmtId: 227080256212965, via: 3, Ver: v1, Flags= : 10, { Answer } } > 2013-07-18 00:34:53,380 DEBUG [cloudstack.context.CallContext] (Job-Execu= tor-6:job-72 =3D [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ] ctx-d664ddd6) Con= text removed CallContext[acct=3D2; user=3D2; session=3Dd664ddd6-e4ac-4bd5-a= 55b-c4e0355e669d] > 2013-07-18 00:34:53,380 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Exec= utor-6:job-72 =3D [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ]) Unexpected exce= ption while executing org.apache.cloudstack.api.command.user.volume.Extract= VolumeCmd > 2013-07-18 00:34:53,383 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Exec= utor-6:job-72 =3D [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ]) Complete async = job-72 =3D [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ], jobStatus: 2, resultCo= de: 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 =3D [ 4a9b985e-8ce3-4f7a-ad94-04= 2e470859e2 ] completed > 2013-07-18 00:34:53,380 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Exec= utor-6:job-72 =3D [ 4a9b985e-8ce3-4f7a-ad94-042e470859e2 ]) Unexpected exce= ption while executing org.apache.cloudstack.api.command.user.volume.Extract= VolumeCmd > java.lang.NullPointerException > at com.cloud.storage.VolumeManagerImpl.getFormatForPool(VolumeManager= Impl.java:2812) > at com.cloud.storage.VolumeManagerImpl.extractVolume(VolumeManagerImp= l.java:2795) > at com.cloud.utils.component.ComponentInstantiationPostProcessor$Inte= rceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > at org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd.exe= cute(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(ThreadPoolExecut= or.java:1146) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu= tor.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 administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira