<div dir="ltr">Hi Assaf,<div><br></div><div>Thank you for responding. </div><div><br></div><div>This was a single node install (packstack --allinone) with only 1 eth (eth0). So eth0 is already assigned a public ip address (which is later moved to br-ex as required during Openstack installation). The initial IP range allotted by Datacenter was: <span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">173.xxx.xxx.144/29, so </span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">173.xxx.xxx.146 is eth0.</span></div>
<div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">Now, the free ips that can be assigned are: </span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">173.xxx.xxx.147-.150. These ips were used up by the few VMs (and a ovs router). So next, the DC assigned another block of ips which is of an entirely different subnet, **and making the second ip range work in a single node install was a pain for me**</span></div>
<div><br></div><div>I asked about this particular error in the OpenStack list with no response, so maybe I was doing something really stupid.</div><div><br></div><div><a href="http://lists.openstack.org/pipermail/openstack/2014-June/007987.html">http://lists.openstack.org/pipermail/openstack/2014-June/007987.html</a>    .. and..<br>
</div><div><a href="http://lists.openstack.org/pipermail/openstack/2014-June/007992.html">http://lists.openstack.org/pipermail/openstack/2014-June/007992.html</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">
Even after adding another public subnet (neutron subnet-create ..), I was unable to "interface-attach", with error saying that no free IPs are available, where as in reality: 1. private network has lot of ips available 2. First public subnet is full 3. Second subnet is already added in public net, and it has free ips available.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">From logs it was evident that "Interface-attach" action was complaining about a public subnet being full (Shouldn't it simply create eth1 and assign a private IP? Why the heck should it complain about a public subnet being full?)</div>
<div class="gmail_extra"><br>I was hitting some kind of port-limit there but I do not recollect what I did to fix it (apparently I spent a couple of days testing things out so not sure what eventually fixed it).</div><div class="gmail_extra">
<br></div><div class="gmail_extra">I finally added one ip from the second public subnet to br-ex, and then created a public subnet with the rest of the ips on that range with gateway set to this ip on br-ex and it worked. I hope this is how it can be done.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><div>Also, your blog on Openvswitch and Openstack networking is undoubtedly the best ever explanation of how networking works in OpenStack. I noted down every word and pic from your blog (on topics: ovs & gre) in my notebook, read and re-read them some 10-15 times and I can confidently say I have a better understanding on these things now than when I posted this query (a week ago, that is). Do keep writing, please!</div>
<div><br></div><div>I successfully tested out a 3-node OpenStack install earlier today, and your notes on GRE helped me in troubleshooting like a pro :-)</div><div><br></div><div>Regards,</div><div>Vimal</div></div><div class="gmail_extra">
<br><div class="gmail_quote">On Sun, Jun 29, 2014 at 2:58 PM, Assaf Muller <span dir="ltr"><<a href="mailto:amuller@redhat.com" target="_blank">amuller@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi Vimal,<br>
<br>
Answers inline.<br>
<div><div class="h5"><br>
----- Original Message -----<br>
> Hi,<br>
><br>
> I have a dedicated server which has 2 public ip ranges allotted to it by the<br>
> DC. I am trying out OpenStack RDO on this server (allinone install), and I<br>
> was able to assign one of the mentioned ranges (let's say<br>
> 173.xxx.xxx.144/29) and managed to use up all the available ips in this<br>
> range for a few vms. This floating-ip range is now accessible from outside,<br>
> and everything is fine.<br>
><br>
> [root@mycloud ~(keystone_admin)]# neutron net-list<br>
> +--------------------------------------+---------+---------------------------------------------------------+<br>
> | id | name | subnets |<br>
> +--------------------------------------+---------+---------------------------------------------------------+<br>
> | 09c8da8e-79d7-49e1-9af8-c2a13a032040 | private |<br>
> | b7eeae38-682a-4397-8b3c-e3dee88527ab <a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a> |<br>
> | 31956556-c540-4676-9cd4-e618a4f93fc8 | public |<br>
> | 14d4b197-1121-4a4b-80b3-b8d80115f734 173.xxx.xxx.144/29 |<br>
> +--------------------------------------+---------+---------------------------------------------------------+<br>
><br>
> [root@yocloud ~(keystone_admin)]# neutron subnet-list<br>
> +--------------------------------------+----------------+--------------------+--------------------------------------------------------+<br>
> | id | name | cidr | allocation_pools |<br>
> +--------------------------------------+----------------+--------------------+--------------------------------------------------------+<br>
> | b7eeae38-682a-4397-8b3c-e3dee88527ab | private_subnet | <a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a> |<br>
> | {"start": "10.0.0.2", "end": "10.0.0.254"} |<br>
> | 14d4b197-1121-4a4b-80b3-b8d80115f734 | public_subnet | 173.xxx.xxx.144/29 |<br>
> | {"start": "173.xxx.xxx.147", "end": "173.xxx.xxx.150"} |<br>
> +--------------------------------------+----------------+--------------------+--------------------------------------------------------+<br>
><br>
> I am now looking to use the second public ip range for next vms and I am not<br>
> sure how to proceed.<br>
><br>
> I tried to create a subnet (public_subnet2) inside "public" net for the new<br>
> ip block but fail to get it working. Neutron does not appear to know that it<br>
> has a few more free floating-ips available, and throws 'No more IP addresses<br>
> available on network'.<br>
><br>
> Can someone point to the right direction? Is it not possible to add multiple<br>
> subnets inside a public network?<br>
<br>
</div></div>When exactly do you fail? When I run neutron floatingip-create <public network><br>
it successfully creates floating IPs from the first subnet, then when that runs<br>
out it starts creating FIPs on the second subnet.<br>
<br>
><br>
> Regards,<br>
> Vimal<br>
><br>
> _______________________________________________<br>
> Rdo-list mailing list<br>
> <a href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/rdo-list" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
><br>
</blockquote></div><br></div></div>