[ https://issues.apache.org/jira/browse/CLOUDSTACK-4520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhinav Roy closed CLOUDSTACK-4520. ----------------------------------- Closing the issue as it is not seen with latest build > [upgrade][vmware]ExtractVolumeCmd fails with NPE while attempting to download > a volume > -------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-4520 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4520 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Storage Controller, Upgrade, VMware > Affects Versions: 4.2.0 > Environment: Host : ESX 5.0 > upgrade from 3.0.6 to 4.2 > Primary storage : iscsi > secondary storage : nfs > Reporter: Abhinav Roy > Assignee: Min Chen > Priority: Critical > Fix For: 4.2.1 > > Attachments: CS-4520.zip > > > Steps : > ====================== > 1. Desploy CS 3.0.6 advanced zone setup with esx 5.0 host, iscsi primary > storage and nfs secondary storage > 2. Create vms, snapshots, templates etc. > 3. Upgrade to 4.2 > 4. Create a VM , ex- V-11 > 5. Stop V-11 > 6. Try to download the ROOT volume of V-11 > Expected behaviour: > ==================== > Download volume should be successful. > Observed behaviour : > =================== > Download volume fails with following excpetion : > 013-08-27 19:48:06,052 DEBUG [agent.transport.Request] > (AgentManager-Handler-2:null) Seq 6-1711538251: Processing: { Ans: , MgmtId: > 280320865129348, via: 6, Ver: v1, Flags: 110, > [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"newData":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"path":"volumes/2/16/cf248e128d5842bbb75f369355d5f251","accountId":0,"id":0}},"result":true,"wait":0}}] > } > 2013-08-27 19:48:06,052 DEBUG [agent.transport.Request] > (Job-Executor-45:job-59 = [ 647d6f40-e15d-4d69-b4bb-5fbcf25ae972 ]) Seq > 6-1711538251: Received: { Ans: , MgmtId: 280320865129348, via: 6, Ver: v1, > Flags: 110, { CopyCmdAnswer } } > 2013-08-27 19:48:06,054 DEBUG [agent.manager.AgentAttache] > (AgentManager-Handler-2:null) Seq 6-1711538251: No more commands found > 2013-08-27 19:48:06,094 ERROR [cloud.async.AsyncJobManagerImpl] > (Job-Executor-45:job-59 = [ 647d6f40-e15d-4d69-b4bb-5fbcf25ae972 ]) > Unexpected exception while executing > org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd > java.lang.NullPointerException > at > org.apache.cloudstack.storage.datastore.driver.CloudStackImageStoreDriverImpl.createEntityExtractUrl(CloudStackImageStoreDriverImpl.java:71) > at > org.apache.cloudstack.storage.image.store.ImageStoreImpl.createEntityExtractUrl(ImageStoreImpl.java:194) > at > com.cloud.storage.VolumeManagerImpl.extractVolume(VolumeManagerImpl.java:2837) > 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-27 19:48:06,096 DEBUG [cloud.async.AsyncJobManagerImpl] > (Job-Executor-45:job-59 = [ 647d6f40-e15d-4d69-b4bb-5fbcf25ae972 ]) Complete > async job-59 = [ 647d6f40-e15d-4d69-b4bb-5fbcf25ae972 ], jobStatus: 2, > resultCode: 530, result: Error Code: 530 Error text: null > 2013-08-27 19:48:07,469 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) > ===START=== 10.144.6.17 -- GET > command=queryAsyncJobResult&jobId=647d6f40-e15d-4d69-b4bb-5fbcf25ae972&response=json&sessionkey=VTc5%2FD4MTl6bTX%2B7GHiy1wakRF4%3D&_=1377613291189 > 2013-08-27 19:48:07,478 DEBUG [cloud.async.AsyncJobManagerImpl] > (catalina-exec-16:null) Async job-59 = [ 647d6f40-e15d-4d69-b4bb-5fbcf25ae972 > ] completed -- 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