<div dir="ltr"><div><div><div><div><div><div><div><div>Hi Akash,<br>Starting the agents is not a problem. The problem is how many l3-agents do you seen when you do 'neutron agent-list'. I see only one. So my question was how to I get the individual agents to register separately. <br><br></div>How does this affect your system? <br><br></div>When I create and assign a floating-ip, I do not see anything happening until I restart the corresponding l3-agent. The reason for this I believe is that neutron is not sending the rpc call to the correct l3-agent. As a result the l3-agent has to be restarted, at which It looks up into the db to sync state, and creates the necessary nat rules for floating-ip.<br><br><br></div>So we are left with two options<br></div>1. Manage multiple external networks with a single agent by unsetting 'external_network_bridge', 'gateway_external_network_id' and 'router_id', which is what Rafael suggested.<br><br></div>2. Keep restarting the agents everytime you attach a new subnet to router or create and assign a floatingip .<br><br></div>Either of this is not desirable for me. I am still looking for a good solution. <br><br></div>Thank you,<br></div>Ageeleshwar K<br><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 18, 2015 at 11:43 AM, Akash Gunjal <span dir="ltr"><<a href="mailto:akgunjal@in.ibm.com" target="_blank">akgunjal@in.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<p><font face="sans-serif">Hi,</font><br>
<br>
<font face="sans-serif">The juno documentation says we can have multiple external networks with a single l3-agent. But never worked for me. So the way I could get it working is having two l3-agent files with different external networks. Starting one l3-agent the normal way and the second l3-agent from command "/usr/bin/python /usr/bin/neutron-l3-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/l3_agent2.ini --config-file /etc/neutron/fwaas_driver.ini"</font><br>
<br>
<font face="sans-serif">Regards,</font><br>
<font face="sans-serif">Akash</font><br>
<br>
<img src="cid:1__=EABBF49FDFB2C8F28f9e8a93df938@in.ibm.com" alt="Inactive hide details for Akilesh K ---03/18/2015 11:06:17 AM---Yes I did the same. But I've heard of people doing multiple l3 " width="16" border="0" height="16"><font color="#424282" face="sans-serif">Akilesh K ---03/18/2015 11:06:17 AM---Yes I did the same. But I've heard of people doing multiple l3 agent scenarios with success, Only th</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From:      </font><font size="1" face="sans-serif">Akilesh K <<a href="mailto:akilesh1597@gmail.com" target="_blank">akilesh1597@gmail.com</a>></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To:        </font><font size="1" face="sans-serif">Rafael Barra <<a href="mailto:faelrba@gmail.com" target="_blank">faelrba@gmail.com</a>></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Cc:        </font><font size="1" face="sans-serif">"<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date:      </font><font size="1" face="sans-serif">03/18/2015 11:06 AM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject:   </font><font size="1" face="sans-serif">Re: [Openstack] [neutron]Multiple l3 agents</font><br>
</p><hr style="color:#8091a5" size="2" noshade width="100%" align="left"><div><div class="h5"><br>
<br>
<br>
<font size="3" face="serif">Yes I did the same. But I've heard of people doing multiple l3 agent scenarios with success, Only that we are not getting replies. I am not sure If I am being paranoid, but I have a feeling that the community interaction these days are going down and corporate interactions are dominating. <br>
</font><br>
<font size="3" face="serif">Will keep you posted, If I hit anything interesting. </font><br>
<font size="3" face="serif"><br>
</font><br>
<br>
<font size="3" face="serif">On Wed, Mar 18, 2015 at 12:56 AM, Rafael Barra <</font><a href="mailto:faelrba@gmail.com" target="_blank"><font size="3" color="#0000FF" face="serif"><u>faelrba@gmail.com</u></font></a><font size="3" face="serif">> wrote:</font>
<ul style="padding-left:9pt"><font size="3" face="serif">Hi,</font><br>
<font size="3" face="serif">I've tried to work with multiple l3_agents in Juno using GRE Tunnels for external networks without sucess. My second external network did not work. </font><br>
<font size="3" face="serif">Then I gave up and moved to one l3_agent with flat networks for my 2 external networks.</font><br>
<font size="3" face="serif">Now everything works ok.</font><br>
<br>
<font size="3" face="serif">Ps: I left </font><font face="serif">gateway_external_network_id, router_id and external_network_bridge empty in the l3_agent configuration file.</font><br>
<br>
<font size="3" face="serif">2015-03-17 10:36 GMT-03:00 Xabier Elkano <</font><a href="mailto:xelkano@hostinet.com" target="_blank"><font size="3" color="#0000FF" face="serif"><u>xelkano@hostinet.com</u></font></a><font size="3" face="serif">>:</font><br>

<ul style="padding-left:9pt"><font size="3" face="serif">El 17/03/15 a las 14:18, Antonio Messina escribió:<br>
> I haven't tested myself yet, but I will need to have multiple external<br>
> networks as well very soon.<br>
><br>
> I was looking at this blogpost:<br>
> </font><a href="http://www.ajo.es/post/86497974174/using-multiple-external-networks-in-openstack" target="_blank"><font size="3" color="#0000FF" face="serif"><u>http://www.ajo.es/post/86497974174/using-multiple-external-networks-in-openstack</u></font></a><font size="3" face="serif"><br>
Hi,<br>
<br>
I've used this method successfully with two external networks, but only<br>
one l3 agent.<br>
<br>
BR,<br>
Xabier<br>
><br>
> Have you tried it yet?<br>
><br>
> .a.<br>
><br>
<br>
</font><br>
<font size="3" face="serif">_______________________________________________<br>
Mailing list: </font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank"><font size="3" color="#0000FF" face="serif"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</u></font></a><font size="3" face="serif"><br>
Post to     : </font><a href="mailto:openstack@lists.openstack.org" target="_blank"><font size="3" color="#0000FF" face="serif"><u>openstack@lists.openstack.org</u></font></a><font size="3" face="serif"><br>
Unsubscribe : </font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank"><font size="3" color="#0000FF" face="serif"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</u></font></a></ul>
<font size="3" color="#888888" face="serif"><br>
</font><br>
<br>
<font size="3" color="#888888" face="serif">-- </font><br>
<font size="3" color="#888888" face="serif">[ ]'s<br>
Rafael Barra</font><br>
<font size="3" face="serif"><br>
_______________________________________________<br>
Mailing list: </font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank"><font size="3" color="#0000FF" face="serif"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</u></font></a><font size="3" face="serif"><br>
Post to     : </font><a href="mailto:openstack@lists.openstack.org" target="_blank"><font size="3" color="#0000FF" face="serif"><u>openstack@lists.openstack.org</u></font></a><font size="3" face="serif"><br>
Unsubscribe : </font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank"><font size="3" color="#0000FF" face="serif"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</u></font></a><font size="3" face="serif"><br>
</font></ul>
<tt><font>_______________________________________________<br>
Mailing list: </font></tt><tt><font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : </font></tt><tt><font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font><br>
</font></tt><br>
</div></div><p></p></div>
</blockquote></div><br></div>