You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Andrei Mikhailovsky <an...@arhont.com> on 2013/04/03 18:53:07 UTC

Extending public IP range on untagged public network interface

Hello guys, 

I was wondering how to extend the public IP range on an untagged physical interface? I am using ACS 4.0.1. When I try to add/extend the range via the CS GUI I am getting an error message saying something like: The IP range already exists on the current vlan. Please note that I do not remember the exact wording of the message. 

I have an existing public IP range and I've been given an additional range which I need to add. Is there a way to do that? If not via the GUI, perhaps via db changes? 

Many thanks 

Andrei 

Re: Extending public IP range on untagged public network interface

Posted by David Comerford <da...@gmail.com>.
Have a look in the user_ip_address table and see is there IP's in there
that might be overlapping in some way. Maybe a incorrect netmask somewhere?

If you really can't figure it out you could turn off the check, set
check.pod.cidrs=false in global settings.

- Dave


On 4 April 2013 12:10, Andrei Mikhailovsky <an...@arhont.com> wrote:

> The existing IP range is different from the new one. The existing IP range
> is XXX.YYY.98.129/26. The new IP range that I was given is
> XXX.YYY.123.193/26.
>
> Thanks
>
>
> ----- Original Message -----
>
> From: "David Comerford" <da...@gmail.com>
> To: users@cloudstack.apache.org
> Sent: Wednesday, 3 April, 2013 11:09:03 PM
> Subject: Re: Extending public IP range on untagged public network interface
>
> Well does the subnet already exist?
> The existing CIDR and new CIDR details would be helpful.
>
> - Dave
>
>
> On 3 April 2013 22:19, Andrei Mikhailovsky <an...@arhont.com> wrote:
>
> > Here is what I've done:
> >
> > In ACS gui i went to Infrastructure > Zones > Zone1 > Publicbr0 > Public
> >
> > and added a new IP range. I've specified a GW, Subnet Mask, Start and End
> > IPs and left the VLAN field blank as my public interface is not tagged. I
> > get the following error from the GUI:
> >
> >
> > The Untagged ip range with different subnet already exists in zone 1
> >
> >
> > the management-server.log has the following corresponding entry:
> >
> > 2013-04-03 22:05:44,206 DEBUG [cloud.api.ApiServlet]
> > (catalina-exec-14:null) ===START=== XXX.YYY.62 -- GET
> >
> command=createVlanIpRange&zoneId=fc8c2022-f5ab-4c7a-b2a9-8eb541cba7df&vlan=untagged&gateway=XXX.YYY.123.254&netmask=255.255.255.192&startip=XXX.YYY.123.194&endip=XXX.YYY.123.253&forVirtualNetwork=true&response=json&sessionkey=XXXXXQupQeYk8Ic%2FV%2FwncSs%3D&_=1365023144195
> >
> > 2013-04-03 22:05:44,215 DEBUG
> > [cloud.configuration.ConfigurationManagerImpl] (catalina-exec-14:null)
> > Access granted to Acct[2-admin] to zone:1 by DomainChecker
> >
> > 2013-04-03 22:05:44,216 DEBUG [db.Transaction.Transaction]
> > (catalina-exec-14:null) Rolling back the transaction: Time = 2 Name =
> > createVlanAndPublicIpRange; called by
> >
> -Transaction.rollback:887-Transaction.removeUpTo:830-Transaction.close:649-DatabaseCallback.interceptException:76-DatabaseCallback.interceptException:28-ComponentLocator$InterceptorDispatcher.intercept:1239-CreateVlanIpRangeCmd.execute:164-ApiDispatcher.dispatch:138-ApiServer.queueCommand:544-ApiServer.handleRequest:423-ApiServlet.processRequest:312-ApiServlet.doGet:64
> >
> > 2013-04-03 22:05:44,280 DEBUG [cloud.api.ApiServlet]
> > (catalina-exec-14:null) ===END=== XXX.YYY.1.62 -- GET
> >
> command=createVlanIpRange&zoneId=fc8c2022-f5ab-4c7a-b2a9-8eb541cba7df&vlan=untagged&gateway=XXX.YYY.123.254&netmask=255.255.255.192&startip=XXX.YYY.123.194&endip=XXX.YYY.123.253&forVirtualNetwork=true&response=json&sessionkey=XXXXXXQupQeYk8Ic%2FV%2FwncSs%3D&_=1365023144195
> >
> >
> > I am using ACS 4.0.1 with Advanced Networking.
> >
> > Many thanks
> >
> > ----- Original Message -----
> >
> > From: "Ahmad Emneina" <ae...@gmail.com>
> > To: "Cloudstack users mailing list" <us...@cloudstack.apache.org>
> > Sent: Wednesday, 3 April, 2013 8:18:53 PM
> > Subject: Re: Extending public IP range on untagged public network
> interface
> >
> > Is this for a basic or advanced zone? Have you tried adding the other IP
> > block as opposed to editing and extending the current range, maybe the
> > exact steps you took and error relating to the actions would give us
> better
> > insight.
> >
> >
> > On Wed, Apr 3, 2013 at 9:53 AM, Andrei Mikhailovsky <andrei@arhont.com
> > >wrote:
> >
> > > Hello guys,
> > >
> > > I was wondering how to extend the public IP range on an untagged
> physical
> > > interface? I am using ACS 4.0.1. When I try to add/extend the range via
> > the
> > > CS GUI I am getting an error message saying something like: The IP
> range
> > > already exists on the current vlan. Please note that I do not remember
> > the
> > > exact wording of the message.
> > >
> > > I have an existing public IP range and I've been given an additional
> > range
> > > which I need to add. Is there a way to do that? If not via the GUI,
> > perhaps
> > > via db changes?
> > >
> > > Many thanks
> > >
> > > Andrei
> > >
> >
> >
>
>

Re: Extending public IP range on untagged public network interface

Posted by Andrei Mikhailovsky <an...@arhont.com>.
The existing IP range is different from the new one. The existing IP range is XXX.YYY.98.129/26. The new IP range that I was given is XXX.YYY.123.193/26. 

Thanks 


----- Original Message -----

From: "David Comerford" <da...@gmail.com> 
To: users@cloudstack.apache.org 
Sent: Wednesday, 3 April, 2013 11:09:03 PM 
Subject: Re: Extending public IP range on untagged public network interface 

Well does the subnet already exist? 
The existing CIDR and new CIDR details would be helpful. 

- Dave 


On 3 April 2013 22:19, Andrei Mikhailovsky <an...@arhont.com> wrote: 

> Here is what I've done: 
> 
> In ACS gui i went to Infrastructure > Zones > Zone1 > Publicbr0 > Public 
> 
> and added a new IP range. I've specified a GW, Subnet Mask, Start and End 
> IPs and left the VLAN field blank as my public interface is not tagged. I 
> get the following error from the GUI: 
> 
> 
> The Untagged ip range with different subnet already exists in zone 1 
> 
> 
> the management-server.log has the following corresponding entry: 
> 
> 2013-04-03 22:05:44,206 DEBUG [cloud.api.ApiServlet] 
> (catalina-exec-14:null) ===START=== XXX.YYY.62 -- GET 
> command=createVlanIpRange&zoneId=fc8c2022-f5ab-4c7a-b2a9-8eb541cba7df&vlan=untagged&gateway=XXX.YYY.123.254&netmask=255.255.255.192&startip=XXX.YYY.123.194&endip=XXX.YYY.123.253&forVirtualNetwork=true&response=json&sessionkey=XXXXXQupQeYk8Ic%2FV%2FwncSs%3D&_=1365023144195 
> 
> 2013-04-03 22:05:44,215 DEBUG 
> [cloud.configuration.ConfigurationManagerImpl] (catalina-exec-14:null) 
> Access granted to Acct[2-admin] to zone:1 by DomainChecker 
> 
> 2013-04-03 22:05:44,216 DEBUG [db.Transaction.Transaction] 
> (catalina-exec-14:null) Rolling back the transaction: Time = 2 Name = 
> createVlanAndPublicIpRange; called by 
> -Transaction.rollback:887-Transaction.removeUpTo:830-Transaction.close:649-DatabaseCallback.interceptException:76-DatabaseCallback.interceptException:28-ComponentLocator$InterceptorDispatcher.intercept:1239-CreateVlanIpRangeCmd.execute:164-ApiDispatcher.dispatch:138-ApiServer.queueCommand:544-ApiServer.handleRequest:423-ApiServlet.processRequest:312-ApiServlet.doGet:64 
> 
> 2013-04-03 22:05:44,280 DEBUG [cloud.api.ApiServlet] 
> (catalina-exec-14:null) ===END=== XXX.YYY.1.62 -- GET 
> command=createVlanIpRange&zoneId=fc8c2022-f5ab-4c7a-b2a9-8eb541cba7df&vlan=untagged&gateway=XXX.YYY.123.254&netmask=255.255.255.192&startip=XXX.YYY.123.194&endip=XXX.YYY.123.253&forVirtualNetwork=true&response=json&sessionkey=XXXXXXQupQeYk8Ic%2FV%2FwncSs%3D&_=1365023144195 
> 
> 
> I am using ACS 4.0.1 with Advanced Networking. 
> 
> Many thanks 
> 
> ----- Original Message ----- 
> 
> From: "Ahmad Emneina" <ae...@gmail.com> 
> To: "Cloudstack users mailing list" <us...@cloudstack.apache.org> 
> Sent: Wednesday, 3 April, 2013 8:18:53 PM 
> Subject: Re: Extending public IP range on untagged public network interface 
> 
> Is this for a basic or advanced zone? Have you tried adding the other IP 
> block as opposed to editing and extending the current range, maybe the 
> exact steps you took and error relating to the actions would give us better 
> insight. 
> 
> 
> On Wed, Apr 3, 2013 at 9:53 AM, Andrei Mikhailovsky <andrei@arhont.com 
> >wrote: 
> 
> > Hello guys, 
> > 
> > I was wondering how to extend the public IP range on an untagged physical 
> > interface? I am using ACS 4.0.1. When I try to add/extend the range via 
> the 
> > CS GUI I am getting an error message saying something like: The IP range 
> > already exists on the current vlan. Please note that I do not remember 
> the 
> > exact wording of the message. 
> > 
> > I have an existing public IP range and I've been given an additional 
> range 
> > which I need to add. Is there a way to do that? If not via the GUI, 
> perhaps 
> > via db changes? 
> > 
> > Many thanks 
> > 
> > Andrei 
> > 
> 
> 


Re: Extending public IP range on untagged public network interface

Posted by David Comerford <da...@gmail.com>.
Well does the subnet already exist?
The existing CIDR and new CIDR details would be helpful.

- Dave


On 3 April 2013 22:19, Andrei Mikhailovsky <an...@arhont.com> wrote:

> Here is what I've done:
>
> In ACS gui i went to Infrastructure > Zones > Zone1 > Publicbr0 > Public
>
> and added a new IP range. I've specified a GW, Subnet Mask, Start and End
> IPs and left the VLAN field blank as my public interface is not tagged. I
> get the following error from the GUI:
>
>
> The Untagged ip range with different subnet already exists in zone 1
>
>
> the management-server.log has the following corresponding entry:
>
> 2013-04-03 22:05:44,206 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-14:null) ===START=== XXX.YYY.62 -- GET
> command=createVlanIpRange&zoneId=fc8c2022-f5ab-4c7a-b2a9-8eb541cba7df&vlan=untagged&gateway=XXX.YYY.123.254&netmask=255.255.255.192&startip=XXX.YYY.123.194&endip=XXX.YYY.123.253&forVirtualNetwork=true&response=json&sessionkey=XXXXXQupQeYk8Ic%2FV%2FwncSs%3D&_=1365023144195
>
> 2013-04-03 22:05:44,215 DEBUG
> [cloud.configuration.ConfigurationManagerImpl] (catalina-exec-14:null)
> Access granted to Acct[2-admin] to zone:1 by DomainChecker
>
> 2013-04-03 22:05:44,216 DEBUG [db.Transaction.Transaction]
> (catalina-exec-14:null) Rolling back the transaction: Time = 2 Name =
> createVlanAndPublicIpRange; called by
> -Transaction.rollback:887-Transaction.removeUpTo:830-Transaction.close:649-DatabaseCallback.interceptException:76-DatabaseCallback.interceptException:28-ComponentLocator$InterceptorDispatcher.intercept:1239-CreateVlanIpRangeCmd.execute:164-ApiDispatcher.dispatch:138-ApiServer.queueCommand:544-ApiServer.handleRequest:423-ApiServlet.processRequest:312-ApiServlet.doGet:64
>
> 2013-04-03 22:05:44,280 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-14:null) ===END=== XXX.YYY.1.62 -- GET
> command=createVlanIpRange&zoneId=fc8c2022-f5ab-4c7a-b2a9-8eb541cba7df&vlan=untagged&gateway=XXX.YYY.123.254&netmask=255.255.255.192&startip=XXX.YYY.123.194&endip=XXX.YYY.123.253&forVirtualNetwork=true&response=json&sessionkey=XXXXXXQupQeYk8Ic%2FV%2FwncSs%3D&_=1365023144195
>
>
> I am using ACS 4.0.1 with Advanced Networking.
>
> Many thanks
>
> ----- Original Message -----
>
> From: "Ahmad Emneina" <ae...@gmail.com>
> To: "Cloudstack users mailing list" <us...@cloudstack.apache.org>
> Sent: Wednesday, 3 April, 2013 8:18:53 PM
> Subject: Re: Extending public IP range on untagged public network interface
>
> Is this for a basic or advanced zone? Have you tried adding the other IP
> block as opposed to editing and extending the current range, maybe the
> exact steps you took and error relating to the actions would give us better
> insight.
>
>
> On Wed, Apr 3, 2013 at 9:53 AM, Andrei Mikhailovsky <andrei@arhont.com
> >wrote:
>
> > Hello guys,
> >
> > I was wondering how to extend the public IP range on an untagged physical
> > interface? I am using ACS 4.0.1. When I try to add/extend the range via
> the
> > CS GUI I am getting an error message saying something like: The IP range
> > already exists on the current vlan. Please note that I do not remember
> the
> > exact wording of the message.
> >
> > I have an existing public IP range and I've been given an additional
> range
> > which I need to add. Is there a way to do that? If not via the GUI,
> perhaps
> > via db changes?
> >
> > Many thanks
> >
> > Andrei
> >
>
>

Re: Extending public IP range on untagged public network interface

Posted by Andrei Mikhailovsky <an...@arhont.com>.
Here is what I've done: 

In ACS gui i went to Infrastructure > Zones > Zone1 > Publicbr0 > Public 

and added a new IP range. I've specified a GW, Subnet Mask, Start and End IPs and left the VLAN field blank as my public interface is not tagged. I get the following error from the GUI: 


The Untagged ip range with different subnet already exists in zone 1 


the management-server.log has the following corresponding entry: 

2013-04-03 22:05:44,206 DEBUG [cloud.api.ApiServlet] (catalina-exec-14:null) ===START=== XXX.YYY.62 -- GET command=createVlanIpRange&zoneId=fc8c2022-f5ab-4c7a-b2a9-8eb541cba7df&vlan=untagged&gateway=XXX.YYY.123.254&netmask=255.255.255.192&startip=XXX.YYY.123.194&endip=XXX.YYY.123.253&forVirtualNetwork=true&response=json&sessionkey=XXXXXQupQeYk8Ic%2FV%2FwncSs%3D&_=1365023144195 

2013-04-03 22:05:44,215 DEBUG [cloud.configuration.ConfigurationManagerImpl] (catalina-exec-14:null) Access granted to Acct[2-admin] to zone:1 by DomainChecker 

2013-04-03 22:05:44,216 DEBUG [db.Transaction.Transaction] (catalina-exec-14:null) Rolling back the transaction: Time = 2 Name = createVlanAndPublicIpRange; called by -Transaction.rollback:887-Transaction.removeUpTo:830-Transaction.close:649-DatabaseCallback.interceptException:76-DatabaseCallback.interceptException:28-ComponentLocator$InterceptorDispatcher.intercept:1239-CreateVlanIpRangeCmd.execute:164-ApiDispatcher.dispatch:138-ApiServer.queueCommand:544-ApiServer.handleRequest:423-ApiServlet.processRequest:312-ApiServlet.doGet:64 

2013-04-03 22:05:44,280 DEBUG [cloud.api.ApiServlet] (catalina-exec-14:null) ===END=== XXX.YYY.1.62 -- GET command=createVlanIpRange&zoneId=fc8c2022-f5ab-4c7a-b2a9-8eb541cba7df&vlan=untagged&gateway=XXX.YYY.123.254&netmask=255.255.255.192&startip=XXX.YYY.123.194&endip=XXX.YYY.123.253&forVirtualNetwork=true&response=json&sessionkey=XXXXXXQupQeYk8Ic%2FV%2FwncSs%3D&_=1365023144195 


I am using ACS 4.0.1 with Advanced Networking. 

Many thanks 

----- Original Message -----

From: "Ahmad Emneina" <ae...@gmail.com> 
To: "Cloudstack users mailing list" <us...@cloudstack.apache.org> 
Sent: Wednesday, 3 April, 2013 8:18:53 PM 
Subject: Re: Extending public IP range on untagged public network interface 

Is this for a basic or advanced zone? Have you tried adding the other IP 
block as opposed to editing and extending the current range, maybe the 
exact steps you took and error relating to the actions would give us better 
insight. 


On Wed, Apr 3, 2013 at 9:53 AM, Andrei Mikhailovsky <an...@arhont.com>wrote: 

> Hello guys, 
> 
> I was wondering how to extend the public IP range on an untagged physical 
> interface? I am using ACS 4.0.1. When I try to add/extend the range via the 
> CS GUI I am getting an error message saying something like: The IP range 
> already exists on the current vlan. Please note that I do not remember the 
> exact wording of the message. 
> 
> I have an existing public IP range and I've been given an additional range 
> which I need to add. Is there a way to do that? If not via the GUI, perhaps 
> via db changes? 
> 
> Many thanks 
> 
> Andrei 
> 


Re: Extending public IP range on untagged public network interface

Posted by Ahmad Emneina <ae...@gmail.com>.
Is this for a basic or advanced zone? Have you tried adding the other IP
block as opposed to editing and extending the current range, maybe the
exact steps you took and error relating to the actions would give us better
insight.


On Wed, Apr 3, 2013 at 9:53 AM, Andrei Mikhailovsky <an...@arhont.com>wrote:

> Hello guys,
>
> I was wondering how to extend the public IP range on an untagged physical
> interface? I am using ACS 4.0.1. When I try to add/extend the range via the
> CS GUI I am getting an error message saying something like: The IP range
> already exists on the current vlan. Please note that I do not remember the
> exact wording of the message.
>
> I have an existing public IP range and I've been given an additional range
> which I need to add. Is there a way to do that? If not via the GUI, perhaps
> via db changes?
>
> Many thanks
>
> Andrei
>