incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangeetha Hariharan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-1303) Ipv6 - java.lang.NullPointerException when executing listnetworks().
Date Fri, 15 Feb 2013 19:27:13 GMT
Sangeetha Hariharan created CLOUDSTACK-1303:
-----------------------------------------------

             Summary: Ipv6 - java.lang.NullPointerException when executing listnetworks().

                 Key: CLOUDSTACK-1303
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1303
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.1.0
         Environment: Latest build from network refactor branch.
            Reporter: Sangeetha Hariharan
            Assignee: Sheng Yang
             Fix For: 4.1.0


Ipv6 - java.lang.NullPointerException when executing listnetworks(). 

Steps to reproduce the problem:

Create dual stack network , by specifying both ipv4 and ipv6 params.

Deploy Vms and exhaust all the ipv4 abd ipv6 params.

Attempting to deploy Vms fail.

Extend IPV4 range of this network.

After this trying to listNetwork fails:

GET command=listNetworks&response=json&sessionkey=ZF9ctKFpv2BhlQxrC2Y8wvTlGMU%3D&zoneId=fa60468a-c5d1-42a2-92e8-23cc5a62b935&domainid=f4af033d-c767-447f-9a30-ad1174ca5e24&account=admin&_=1360955805067
530 null

Following is management server logs:

2013-02-15 19:15:48,447 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null) ===START=== 
10.217.252.59 -- GET  command=listNetworks&response=json&sessionkey=ZF9ctKFpv2BhlQxrC2Y8wvTlGMU%3D&zoneId=fa60468a-c5d1-42a2-92e8-23cc5a62b935&domainid=f4af033d-c767-447f-9a30-ad1174ca5e24&account=admin&_=1360955805067
2013-02-15 19:15:48,452 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-17:null) Access
granted to Acct[2-admin] to Domain:1/ by DomainChecker
2013-02-15 19:15:48,467 ERROR [cloud.api.ApiDispatcher] (catalina-exec-17:null) Exception
while executing ListNetworksCmd:
java.lang.NullPointerException
        at com.cloud.utils.net.NetUtils.countIp6InRange(NetUtils.java:1219)
        at com.cloud.network.NetworkModelImpl.isIP6AddressAvailableInVlan(NetworkModelImpl.java:556)
        at com.cloud.network.NetworkModelImpl.isIP6AddressAvailableInNetwork(NetworkModelImpl.java:544)
        at com.cloud.network.NetworkModelImpl.canUseForDeploy(NetworkModelImpl.java:524)
        at com.cloud.api.ApiDBUtils.canUseForDeploy(ApiDBUtils.java:842)
        at com.cloud.api.ApiResponseHelper.createNetworkResponse(ApiResponseHelper.java:3183)
        at com.cloud.api.commands.ListNetworksCmd.execute(ListNetworksCmd.java:156)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:168)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:540)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:424)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:312)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:64)
        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:2268)
        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-02-15 19:15:48,469 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null) ===END===  10.217.252.59
-- GET  command=listNetworks&response=json&sessionkey=ZF9ctKFpv2BhlQxrC2Y8wvTlGMU%3D&zoneId=fa60468a-c5d1-42a2-92e8-23cc5a62b935&domainid=f4af033d-c767-447f-9a30-ad1174ca5e24&account=admin&_=1360955805067

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

Mime
View raw message