You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rajesh Battala (JIRA)" <ji...@apache.org> on 2013/07/02 13:41:19 UTC

[jira] [Commented] (CLOUDSTACK-3264) [ZWPS]NPE while finding storage pools for migration

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

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

liststoragepools is working fine, I didn't see any issue on stable branch
http://:8080/client/api?command=listStoragePools&sessionkey=fjtX5OKeJHLBox%2BNZ37O52Ktqzk%3D&page=1&pageSize=20&listAll=true&_=1372764325574

<liststoragepoolsresponse cloud-stack-version="4.2.0-SNAPSHOT"><count>2</count><storagepool><id>f0802731-62fe-3a85-b81a-98ae47e845cf</id><zoneid>2844f139-474f-45bb-b035-0e33fcdca09c</zoneid><zonename>myzone</zonename><name>zwps1</name><ipaddress>x.x.x.x</ipaddress><path>/cpg_vol/rajesh/zwps1</path><created>2013-07-02T16:46:57+0530</created><type>NetworkFilesystem</type><disksizetotal>879609315328</disksizetotal><disksizeallocated>16056082432</disksizeallocated><disksizeused>462213808128</disksizeused><state>Up</state><scope>ZONE</scope><hypervisor>KVM</hypervisor></storagepool><storagepool><id>d8490c13-0efb-3e81-b6a5-fe84779d70be</id><zoneid>2844f139-474f-45bb-b035-0e33fcdca09c</zoneid><zonename>myzone</zonename><podid>5a3c82be-80e0-45f6-b1ab-af415af89093</podid><podname>mypod</podname><name>myps</name><ipaddress>x.x.x.x</ipaddress><path>/cpg_vol/rajesh/primary</path><created>2013-07-02T13:45:25+0530</created><type>NetworkFilesystem</type><clusterid>a7efd348-7677-49e1-85d0-38cdfbd6cf23</clusterid><clustername>myxs</clustername><disksizetotal>879609315328</disksizetotal><disksizeallocated>6295556608</disksizeallocated><disksizeused>462213611520</disksizeused><state>Up</state><scope>CLUSTER</scope></storagepool></liststoragepoolsresponse>
                
> [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
>            Assignee: Rajesh Battala
>            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