[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695372#comment-13695372
 ] 

Rajesh Battala commented on CLOUDSTACK-3264:
--------------------------------------------

This issue is seen on which branch?
On the latest master, this issue is not happening.
But issue is there to migrate volume across ZWPS. that is after copy is done to 
another storage and while deleting the old volume issue is there.. 

2013-06-28 15:57:14,879 WARN  [agent.manager.AgentManagerImpl] 
(Job-Executor-10:job-42) Unsupported Command: Unsupported command 
issued:org.apache.cloudstack.storage.command.CopyCommand.  Are you sure you got 
the right type of server?
2013-06-28 15:57:14,880 DEBUG [storage.motion.AncientDataMotionStrategy] 
(Job-Executor-10:job-42) 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-28 15:57:14,895 DEBUG [storage.motion.AncientDataMotionStrategy] 
(Job-Executor-10:job-42) 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 finding storage pools for migration
> ---------------------------------------------------
>
>                 Key: CLOUDSTACK-3264
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3264
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: vmware deployment , esxi 5.1
>            Reporter: Srikanteswararao Talluri
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> Steps to reproduce:
> =============
> Issue findStoragePoolsForMigration API for a volume
> ===START===  10.252.192.7 -- GET  
> command=findStoragePoolsForMigration&id=02e0e77b-59dd-4bc4-a3b8-ba3914212883&response=json&sessionkey=ywi4cWnDQTL903lMXK6spFaF6U4%3D&_=1372404084373
> 2013-06-28 18:16:45,204 ERROR [cloud.api.ApiServer] (catalina-exec-16:null) 
> unhandled exception executing api command: findStoragePoolsForMigration
> java.lang.NullPointerException
>       at 
> com.cloud.server.ManagementServerImpl.listStoragePoolsForMigrationOfVolume(ManagementServerImpl.java:1336)
>       at 
> org.apache.cloudstack.api.command.admin.storage.FindStoragePoolsForMigrationCmd.execute(FindStoragePoolsForMigrationCmd.java:72)
>       at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>       at com.cloud.api.ApiServer.queueCommand(ApiServer.java:528)
>       at com.cloud.api.ApiServer.handleRequest(ApiServer.java:371)
>       at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
>       at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>       at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>       at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>       at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>       at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>       at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>       at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>       at 
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>       at 
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>       at 
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
>       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-06-28 18:16:45,207 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) 
> ===END===  10.252.192.7 -- GET  
> command=findStoragePoolsForMigration&id=02e0e77b-59dd-4bc4-a3b8-ba3914212883&response=json&sessionkey=ywi4cWnDQTL903lMXK6spFaF6U4%3D&_=1372404084373

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

Reply via email to