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] [Commented] (CLOUDSTACK-1303) Ipv6 - java.lang.NullPointerException when executing listnetworks().
Date Fri, 15 Feb 2013 19:35:12 GMT

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

Sangeetha Hariharan commented on CLOUDSTACK-1303:
-------------------------------------------------

mysql> select * from vlan;
+----+--------------------------------------+---------+----------------+-----------------+----------------+-------------------+-------------------------------+-------------------------------------------------+----------------+----------------+------------+---------------------+
| id | uuid                                 | vlan_id | vlan_gateway   | vlan_netmask    |
ip6_gateway    | ip6_cidr          | description                   | ip6_range           
                           | vlan_type      | data_center_id | network_id | physical_network_id
|
+----+--------------------------------------+---------+----------------+-----------------+----------------+-------------------+-------------------------------+-------------------------------------------------+----------------+----------------+------------+---------------------+
|  1 | a6efa79f-781d-4b2d-92ac-1a9dd2b7771e | 1363    | 10.223.136.193 | 255.255.255.192 |
NULL           | NULL              | 10.223.136.194-10.223.136.210 | NULL                
                           | VirtualNetwork |              1 |        200 |              
  200 |
|  4 | f0fb8709-996c-4050-b860-55bfe717fb83 | 1371    | 10.223.137.65  | 255.255.255.192 |
fc00:3:1371::1 | fc00:3:1371::1/64 | 10.223.137.66-10.223.137.90   | fc00:3:1371::2-fc00:3:1371::ffff:ffff:ffff:ffff
| DirectAttached |              1 |        206 |                 200 |
|  5 | 5ea0e254-fe59-4fd0-a396-6305c7341f57 | 1370    | 10.223.137.1   | 255.255.255.224 |
fc00:3:1370::1 | fc00:3:1370::1/64 | 10.223.137.2-10.223.137.4     | fc00:3:1370::2-fc00:3:1370::4
                  | DirectAttached |              1 |        208 |                 200 |
|  6 | 88d5c3d8-98aa-4681-98a2-fa0e4ed41eb9 | 1370    | 10.223.137.1   | 255.255.255.224 |
NULL           | NULL              | 10.223.137.5-10.223.137.7     | NULL                
                           | DirectAttached |              1 |        208 |              
  200 |
+----+--------------------------------------+---------+----------------+-----------------+----------------+-------------------+-------------------------------+-------------------------------------------------+----------------+----------------+------------+---------------------+
4 rows in set (0.00 sec)

                
> 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