Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EF288E99B for ; Sat, 16 Feb 2013 01:43:13 +0000 (UTC) Received: (qmail 35700 invoked by uid 500); 16 Feb 2013 01:43:13 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 35664 invoked by uid 500); 16 Feb 2013 01:43:13 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 35655 invoked by uid 99); 16 Feb 2013 01:43:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Feb 2013 01:43:13 +0000 Date: Sat, 16 Feb 2013 01:43:13 +0000 (UTC) From: "Sangeetha Hariharan (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CLOUDSTACK-1107) Ipv6 - Unable to extend Ip range for a Ipv6 network using craeteVlanIpRange() command - Error code 530 returned. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-1107?page=3Dcom.atl= assian.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=3D2 accountId=3D2 sessionId=3DEB778CE8F713E20685D038B997411346) 10= .217.252.59 -- GET command=3DcreateVlanIpRange&forVirtualNetwork=3Dfalse&ne= tworkid=3D23fb0f34-414d-45b3-b6bc-ca78915907b6&startipv6=3Dfc00:3:1370::11&= endipv6=3Dfc00:3:1370::20&sessionkey=3D4dk3bXhsicZfitb1HLGRzOjAIjE%3D 200 <= ?xml version=3D"1.0" encoding=3D"UTF-8"?>6e756f9a-bbd9-40db-b38d-a19= e901bd923falsefa60468a-= c5d1-42a2-92e8-23cc5a62b9351370systemf4af033d-c767-447f-9a30-ad1174ca5e24ROOT23fb0f34-414d-45b3-b6bc-ca78915907b6c2b915f9-abaa-4139-8e1f-79639cd4bbfefc00:3:1370::11fc00:3:1370::20f= c00:3:1370::1fc00:3:1370::1/64 mysql> select * from vlan; +----+--------------------------------------+---------+----------------+---= --------------+----------------+-------------------+-----------------------= --------+-------------------------------------------------+----------------= +----------------+------------+---------------------+ | id | uuid | vlan_id | vlan_gateway | vl= an_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 | 25= 5.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 | 25= 5.255.255.224 | fc00:3:1370::1 | fc00:3:1370::1/64 | 10.223.137.2-10.223.13= 7.10 | fc00:3:1370::2-fc00:3:1370::10 | DirectAttached = | 1 | 210 | 200 | | 9 | 6e756f9a-bbd9-40db-b38d-a19e901bd923 | 1370 | NULL | NU= LL | 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 | 25= 5.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 | NU= LL | 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 | +----+--------------------------------------+---------+----------------+---= --------------+----------------+-------------------+-----------------------= --------+-------------------------------------------------+----------------= +----------------+------------+---------------------+ =20 > Ipv6 - Unable to extend Ip range for a Ipv6 network using craeteVlanIpRan= ge() command - Error code 530 returned. > -------------------------------------------------------------------------= --------------------------------------- > > Key: CLOUDSTACK-1107 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-110= 7 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > 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 craeteVlanIpRan= ge() 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:nul= l) (userId=3D2 accountId=3D2 sessionId=3D15E1EE3BB246B890356119483E4443A3) = 10.217.252.59 -- GET command=3DcreateVlanIpRange&forVirtualNetwork=3Dfalse&= networkid=3Dde57fad8-ed88-4728-bd32-26dfc396e4e0&startip=3Dfc00:3:1370::11&= endip=3Dfc00:3:1370::ff&response=3Djson&sessionkey=3D2lbI7S08%2BJ57eJfiehe%= 2FFSPSL6o%3D&_=3D1359675548381 530 null > Following exception seen in the logs: > 2013-01-31 23:38:20,945 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:nu= ll) =3D=3D=3DSTART=3D=3D=3D 10.217.252.59 -- GET command=3DcreateVlanIpRa= nge&forVirtualNetwork=3Dfalse&networkid=3Dde57f > ad8-ed88-4728-bd32-26dfc396e4e0&startip=3Dfc00:3:1370::11&endip=3Dfc00:3:= 1370::ff&response=3Djson&sessionkey=3D2lbI7S08%2BJ57eJfiehe%2FFSPSL6o%3D&_= =3D1359675548381 > 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.createVlanAnd= PublicIpRange(ConfigurationManagerImpl.java:2212) > at com.cloud.utils.component.ComponentLocator$InterceptorDispatch= er.intercept(ComponentLocator.java:1262) > at com.cloud.api.commands.CreateVlanIpRangeCmd.execute(CreateVlan= IpRangeCmd.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.internalDoFilt= er(ApplicationFilterChain.java:290) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli= cationFilterChain.java:206) > at org.apache.catalina.core.StandardWrapperValve.invoke(StandardW= rapperValve.java:233) > at org.apache.catalina.core.StandardContextValve.invoke(StandardC= ontextValve.java:191) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHost= Valve.java:127) > at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport= Valve.java:102) > at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv= e.java:555) > at org.apache.catalina.core.StandardEngineValve.invoke(StandardEn= gineValve.java:109) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdap= ter.java:298) > at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioP= rocessor.java:889) > at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHan= dler.process(Http11NioProtocol.java:721) > at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(Nio= Endpoint.java:2268) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolEx= ecutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolE= xecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2013-01-31 23:38:20,972 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:nu= ll) =3D=3D=3DEND=3D=3D=3D 10.217.252.59 -- GET command=3DcreateVlanIpRang= e&forVirtualNetwork=3Dfalse&networkid=3Dde57fad8-ed88-4728-bd32-26dfc396e4e= 0&startip=3Dfc00:3:1370::11&endip=3Dfc00:3:1370::ff&response=3Djson&session= key=3D2lbI7S08%2BJ57eJfiehe%2FFSPSL6o%3D&_=3D1359675548381 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira