[ https://issues.apache.org/jira/browse/CLOUDSTACK-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694573#comment-13694573 ]
Rajesh Battala commented on CLOUDSTACK-2304: -------------------------------------------- NPE use to happen at different class before object store merge. Now the NPE is happening at differnent location/class. The Fix provided in RB won't be valid now. Have to re-work on this fix. more commands found 2013-06-27 14:24:51,007 DEBUG [agent.transport.Request] (Job-Executor-33:job-57) Seq 3-393160908: Received: { Ans: , MgmtId: 235715300172635, via: 3, Ver: v1, Flags: 110, { UnsupportedAnswer } } 2013-06-27 14:24:51,008 WARN [agent.manager.AgentManagerImpl] (Job-Executor-33:job-57) Unsupported Command: Unsupported command issued:org.apache.cloudstack.storage.command.CopyCommand. Are you sure you got the right type of server? 2013-06-27 14:24:51,009 DEBUG [storage.motion.AncientDataMotionStrategy] (Job-Executor-33:job-57) copy to image store failed: Unsupported command issued:org.apache.cloudstack.storage.command.CopyCommand. Are you sure you got the right type of server? 2013-06-27 14:24:51,032 DEBUG [storage.motion.AncientDataMotionStrategy] (Job-Executor-33:job-57) copy failed java.lang.NullPointerException at org.apache.cloudstack.storage.volume.VolumeObject.getPath(VolumeObject.java:324) at org.apache.cloudstack.storage.to.VolumeObjectTO.<init>(VolumeObjectTO.java:51) at org.apache.cloudstack.storage.volume.VolumeObject.getTO(VolumeObject.java:446) at org.apache.cloudstack.storage.image.BaseImageStoreDriverImpl.deleteAsync(BaseImageStoreDriverImpl.java:188) at org.apache.cloudstack.storage.image.store.ImageStoreImpl.delete(ImageStoreImpl.java:148) at org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyVolumeBetweenPools(AncientDataMotionStrategy.java:281) at org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyAsync(AncientDataMotionStrategy.java:330) at org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:57) at org.apache.cloudstack.storage.volume.VolumeServiceImpl.copyVolume(VolumeServiceImpl.java:703) at com.cloud.storage.VolumeManagerImpl.migrateVolume(VolumeManagerImpl.java:2109) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at com.cloud.storage.VolumeManagerImpl.migrateVolume(VolumeManagerImpl.java:2101) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at org.apache.cloudstack.api.command.user.volume.MigrateVolumeCmd.execute(MigrateVolumeCmd.java:102) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437) 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:722) > [ZWPS]NPE while migrating volume from one zone wide primary to another > ---------------------------------------------------------------------- > > Key: CLOUDSTACK-2304 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2304 > 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: KVM/VMware deployment with Zone wide primary storage > Reporter: Srikanteswararao Talluri > Assignee: Rajesh Battala > Priority: Critical > Fix For: 4.2.0 > > Attachments: Archive.zip > > > Try to migrate a volume from one zone wide primary storage to another. > ===START=== 10.252.241.40 -- GET > command=migrateVolume&storageid=230ae4af-0446-3929-a8cd-63ab88f31ab1&volumeid=d9efc3d8-1612-4998-95d7-c713e90b7173&response=json&sessionkey=yMNGYR64PRQhdJaPj99Bvs2KDDE%3D&_=1367485037836 > 2013-05-02 20:06:59,384 DEBUG [cloud.async.AsyncJobManagerImpl] > (catalina-exec-3:null) submit async job-97, details: AsyncJobVO {id:97, > userId: 2, accountId: 2, sessionKey: null, instanceType: null, instanceId: > null, cmd: org.apache.cloudstack.api.command.user.volume.MigrateVolumeCmd, > cmdOriginator: null, cmdInfo: > {"response":"json","sessionkey":"yMNGYR64PRQhdJaPj99Bvs2KDDE\u003d","ctxUserId":"2","storageid":"230ae4af-0446-3929-a8cd-63ab88f31ab1","_":"1367485037836","volumeid":"d9efc3d8-1612-4998-95d7-c713e90b7173","ctxAccountId":"2","ctxStartEventId":"310"}, > 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-05-02 20:06:59,388 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) > ===END=== 10.252.241.40 -- GET > command=migrateVolume&storageid=230ae4af-0446-3929-a8cd-63ab88f31ab1&volumeid=d9efc3d8-1612-4998-95d7-c713e90b7173&response=json&sessionkey=yMNGYR64PRQhdJaPj99Bvs2KDDE%3D&_=1367485037836 > 2013-05-02 20:06:59,391 DEBUG [cloud.async.AsyncJobManagerImpl] > (Job-Executor-66:job-97) Executing > org.apache.cloudstack.api.command.user.volume.MigrateVolumeCmd for job-97 > 2013-05-02 20:06:59,423 DEBUG [cloud.storage.VolumeManagerImpl] > (Job-Executor-66:job-97) migrate volume failed:java.lang.NullPointerException > 2013-05-02 20:06:59,424 DEBUG [cloud.async.AsyncJobManagerImpl] > (Job-Executor-66:job-97) Complete async job-97, jobStatus: 1, resultCode: 0, > result: null > 2013-05-02 20:06:59,434 DEBUG [cloud.async.AsyncJobManagerImpl] > (Job-Executor-66:job-97) Done executing > org.apache.cloudstack.api.command.user.volume.MigrateVolumeCmd for job-97 -- 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