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] [Closed] (CLOUDSTACK-1107) Ipv6 - Unable to extend Ip range for a Ipv6 network using craeteVlanIpRange() command - Error code 530 returned.
Date Sat, 16 Feb 2013 01:43:13 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sangeetha Hariharan closed CLOUDSTACK-1107.
-------------------------------------------


Tested with the latest build from networkrefactor branch.

We are able to extend the Ipv6range for a dual stack network successfully.

2013-02-15 23:44:49,112 INFO  [cloud.api.ApiServer] (catalina-exec-12:null) (userId=2 accountId=2
sessionId=EB778CE8F713E20685D038B997411346) 10.217.252.59 -- GET command=createVlanIpRange&forVirtualNetwork=false&networkid=23fb0f34-414d-45b3-b6bc-ca78915907b6&startipv6=fc00:3:1370::11&endipv6=fc00:3:1370::20&sessionkey=4dk3bXhsicZfitb1HLGRzOjAIjE%3D
200 <?xml version="1.0" encoding="UTF-8"?><createvlaniprangeresponse cloud-stack-version="4.1.0.20130213083046"><vlan><id>6e756f9a-bbd9-40db-b38d-a19e901bd923</id><forvirtualnetwork>false</forvirtualnetwork><zoneid>fa60468a-c5d1-42a2-92e8-23cc5a62b935</zoneid><vlan>1370</vlan><account>system</account><domainid>f4af033d-c767-447f-9a30-ad1174ca5e24</domainid><domain>ROOT</domain><networkid>23fb0f34-414d-45b3-b6bc-ca78915907b6</networkid><physicalnetworkid>c2b915f9-abaa-4139-8e1f-79639cd4bbfe</physicalnetworkid><startipv6>fc00:3:1370::11</startipv6><endipv6>fc00:3:1370::20</endipv6><ip6gateway>fc00:3:1370::1</ip6gateway><ip6cidr>fc00:3:1370::1/64</ip6cidr></vlan></createvlaniprangeresponse>



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 |
|  8 | 5489a544-9cca-4103-8d23-ae44641feefe | 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.10    | fc00:3:1370::2-fc00:3:1370::10
                 | DirectAttached |              1 |        210 |                 200 |
|  9 | 6e756f9a-bbd9-40db-b38d-a19e901bd923 | 1370    | NULL           | NULL            |
fc00:3:1370::1 | fc00:3:1370::1/64 | NULL                          | fc00:3:1370::11-fc00:3:1370::20
                | DirectAttached |              1 |        210 |                 200 |
| 10 | ee8c39a0-272a-4d9f-b05d-2f92c9a64dba | 1373    | 10.223.137.193 | 255.255.255.192 |
NULL           | NULL              | 10.223.137.194-10.223.137.200 | NULL                
                           | DirectAttached |              1 |        211 |              
  200 |
| 11 | efe03274-599c-4113-bd1c-9d6661bf1287 | 1371    | NULL           | NULL            |
fc00:3:1371::1 | fc00:3:1371::1/64 | NULL                          | fc00:3:1371::2-fc00:3:1371::ffff:ffff:ffff:ffff
| DirectAttached |              1 |        212 |                 200 |
+----+--------------------------------------+---------+----------------+-----------------+----------------+-------------------+-------------------------------+-------------------------------------------------+----------------+----------------+------------+---------------------+




                
> Ipv6 - Unable to extend Ip range for a Ipv6 network using craeteVlanIpRange() command
- Error code 530 returned.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1107
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1107
>             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 Refactoring branch
>            Reporter: Sangeetha Hariharan
>            Assignee: Sheng Yang
>             Fix For: 4.1.0
>
>
> Ipv6 - Unable to extend Ip range for a Ipv6 network using craeteVlanIpRange() command.
> Create a IPV6 network.
> Try to extend the Ip range of this network.
> This fails.
> 2013-01-31 23:38:20,972 INFO  [cloud.api.ApiServer] (catalina-exec-19:null) (userId=2
accountId=2 sessionId=15E1EE3BB246B890356119483E4443A3) 10.217.252.59 -- GET command=createVlanIpRange&forVirtualNetwork=false&networkid=de57fad8-ed88-4728-bd32-26dfc396e4e0&startip=fc00:3:1370::11&endip=fc00:3:1370::ff&response=json&sessionkey=2lbI7S08%2BJ57eJfiehe%2FFSPSL6o%3D&_=1359675548381
530 null
> Following exception seen in the logs:
> 2013-01-31 23:38:20,945 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) ===START===
 10.217.252.59 -- GET  command=createVlanIpRange&forVirtualNetwork=false&networkid=de57f
> ad8-ed88-4728-bd32-26dfc396e4e0&startip=fc00:3:1370::11&endip=fc00:3:1370::ff&response=json&sessionkey=2lbI7S08%2BJ57eJfiehe%2FFSPSL6o%3D&_=1359675548381
> 2013-01-31 23:38:20,970 ERROR [cloud.api.ApiDispatcher] (catalina-exec-19:null) Exception
while executing CreateVlanIpRangeCmd:
> java.lang.NullPointerException
>         at com.cloud.utils.net.NetUtils.getCidrNetmask(NetUtils.java:861)
>         at com.cloud.configuration.ConfigurationManagerImpl.createVlanAndPublicIpRange(ConfigurationManagerImpl.java:2212)
>         at com.cloud.utils.component.ComponentLocator$InterceptorDispatcher.intercept(ComponentLocator.java:1262)
>         at com.cloud.api.commands.CreateVlanIpRangeCmd.execute(CreateVlanIpRangeCmd.java:164)
>         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-01-31 23:38:20,972 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) ===END===
 10.217.252.59 -- GET  command=createVlanIpRange&forVirtualNetwork=false&networkid=de57fad8-ed88-4728-bd32-26dfc396e4e0&startip=fc00:3:1370::11&endip=fc00:3:1370::ff&response=json&sessionkey=2lbI7S08%2BJ57eJfiehe%2FFSPSL6o%3D&_=1359675548381

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