<div dir="ltr">You have to set two variables in the nova.conf file apparently ("send_arp_for_ha" and "send_arp_for_ha_count"):<br><br><a href="https://github.com/openstack/nova/blob/3658e1015a2f7cb7c321cc1a0adfda37757fd80b/nova/network/linux_net.py#L764">https://github.com/openstack/nova/blob/3658e1015a2f7cb7c321cc1a0adfda37757fd80b/nova/network/linux_net.py#L764</a><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 13, 2015 at 2:00 PM, Georgios Dimitrakakis <span dir="ltr"><<a href="mailto:giorgis@acmac.uoc.gr" target="_blank">giorgis@acmac.uoc.gr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 03/13/2015 05:54 AM, Georgios Dimitrakakis wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 03/12/2015 06:24 PM, Georgios Dimitrakakis wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello!<br>
<br>
I am facing a rather weird issue and would like to know if anyone has<br>
faced it before and the way you have solved it (if any).<br>
<br>
Firstly, I 'd like to let you know that I am running Icehouse with Nova-Legacy<br>
Networking.<br>
<br>
I have an application that launches and terminates VMs very frequently and<br>
automatically assigns to them<br>
floating IP addresses.<br>
<br>
As a result if an IP has been used once then the second time that is being used<br>
cannot be reached for at<br>
least 20minutes (this is the time frame if the newly launched VM gets the same<br>
IP address from one that<br>
has just been terminated). Furthermore, this issue only happens when the second<br>
VM is launched on a<br>
different physical node (hypervisor) than the first one.<br>
<br>
I believe that I have identified the problem to be ARP Caching on the router<br>
side since if I do:<br>
<br>
arping -U -I {Interface-Name} {IP-Address}<br>
<br>
in order to update the ARP Caches of the neighbors immediately the new VM can be<br>
reached on its floating<br>
IP address.<br>
<br>
<br>
Is this the proper way of solving it?<br>
<br>
Can I somehow "instruct" OpenStack not to use the first available IP address<br>
everytime but on a random order<br>
or the one that hasn't been used for enough time?<br>
<br>
Any other thoughts?<br>
</blockquote>
<br>
<br>
Just a thought, have you tried enabling "send_arp_for_ha" in nova.conf?<br>
<br>
Chris<br>
<br>
</blockquote>
<br>
<br>
Hi Chris! Thx for the feedback!<br>
<br>
send_arp_for_ha = True<br>
<br>
is already enabled in all nodes (controller and compute).<br>
<br>
Can I somehow verify that it's working?<br>
</blockquote>
<br>
You should be able to verify with a packet sniffer somewhere on your network.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How often is it sending the ARP request? Does it send it every time nova configuration is changing?<br>
</blockquote>
<br>
I'm very much *not* an expert in this area, so I'm afraid I'm not the<br>
right person to ask about that.<br>
<br>
<br>
Chris<br>
</blockquote>
<br>
Chris,<br>
<br>
thanks for the feedback. Any idea on what to sniff for?<br>
<br>
George<br>
<br>
______________________________<u></u>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
</blockquote></div><br></div>