Re: [Openstack] ARP Caching

2015-03-20 Thread George Mihaiescu
Hi Georgios, Based on the code ( https://github.com/openstack/nova/blob/3658e1015a2f7cb7c321cc1a0adfda37757fd80b/nova/network/linux_net.py#L754) it looks like the command that Nova executes is: arping -U ip -A -I device -c count You could add a line in that file after the arping command to log i

Re: [Openstack] ARP Caching

2015-03-16 Thread Rick Jones
On 03/16/2015 01:13 PM, Georgios Dimitrakakis wrote: Hi again! I 've used tcpdump to capture the ARP requests. This is what I get for ARP requests coming from "send_arp_for_ha" by OpenStack: 04:56:25.995860 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 15.12.11.34 tell 15.12.11.226, len

Re: [Openstack] ARP Caching

2015-03-16 Thread Georgios Dimitrakakis
Hi again! I 've used tcpdump to capture the ARP requests. This is what I get for ARP requests coming from "send_arp_for_ha" by OpenStack: 04:56:25.995860 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 15.12.11.34 tell 15.12.11.226, length 46 04:56:25.995894 ARP, Ethernet (len 6), IPv4

Re: [Openstack] ARP Caching

2015-03-14 Thread Georgios Dimitrakakis
I will try to see if I can get anything from the logs. If someone else can come to a better suggestion I am all ears. Not having full access to the DataCenter and the underlying equipment has caused me enough headaches so far :-( Best, George On 03/14/2015 03:32 PM, Georgios Dimitrakakis w

Re: [Openstack] ARP Caching

2015-03-14 Thread Rick Jones
On 03/14/2015 03:32 PM, Georgios Dimitrakakis wrote: Hello again Rick! On 03/13/2015 06:25 PM, Georgios Dimitrakakis wrote: If I do an : arping -U -I etho x.x.x.x where x.x.x.x is the IP address. I can almost immediately access them outside of the subnet! I had forgotten that, Still is

Re: [Openstack] ARP Caching

2015-03-14 Thread Georgios Dimitrakakis
Hello again Rick! On 03/13/2015 06:25 PM, Georgios Dimitrakakis wrote: If I do an : arping -U -I etho x.x.x.x where x.x.x.x is the IP address. I can almost immediately access them outside of the subnet! I had forgotten that, Still is that the very same set of options the OpenStack code u

Re: [Openstack] ARP Caching

2015-03-14 Thread Rick Jones
On 03/13/2015 06:25 PM, Georgios Dimitrakakis wrote: If I do an : arping -U -I etho x.x.x.x where x.x.x.x is the IP address. I can almost immediately access them outside of the subnet! I had forgotten that, Still is that the very same set of options the OpenStack code uses? Do you mean

Re: [Openstack] ARP Caching

2015-03-13 Thread Georgios Dimitrakakis
If I do an : arping -U -I etho x.x.x.x where x.x.x.x is the IP address. I can almost immediately access them outside of the subnet! Do you mean that OpenStack is sending a gratuitous ARP for all and the router is ignoring them unless it is for a specific IP address? If this is the case is the

Re: [Openstack] ARP Caching

2015-03-13 Thread Rick Jones
On 03/13/2015 04:55 PM, Georgios Dimitrakakis wrote: The value is 10 Do you believe that it should be bigger? These accesses of instances which are being delayed by 20 minutes - are they delayed for other instances in the subnet, or just for accesses from outside the subnet (ie through a rea

Re: [Openstack] ARP Caching

2015-03-13 Thread Georgios Dimitrakakis
The value is 10 Do you believe that it should be bigger? Best, George Well, what value do you have for send_arp_for_ha_count ? On 13 Mar 2015 17:11, "Georgios Dimitrakakis" wrote: So according to that it sends ARP every time a floating IP is assigned at a VM. Am I right? If that is correc

Re: [Openstack] ARP Caching

2015-03-13 Thread George Mihaiescu
Well, what value do you have for send_arp_for_ha_count ? On 13 Mar 2015 17:11, "Georgios Dimitrakakis" wrote: > So according to that it sends ARP every time a floating IP is assigned at > a VM. Am I right? > > If that is correct unfortunately it's not working :-( > > Any ideas how to debug it? >

Re: [Openstack] ARP Caching

2015-03-13 Thread Georgios Dimitrakakis
So according to that it sends ARP every time a floating IP is assigned at a VM. Am I right? If that is correct unfortunately it's not working :-( Any ideas how to debug it? Thanks a lot for your help! Regards, George Based on the code, it sends the gratuitous ARPs only when the floating

Re: [Openstack] ARP Caching

2015-03-13 Thread George Mihaiescu
Based on the code, it sends the gratuitous ARPs only when the floating IP is assigned to the VM, and it's sent as many times as the user decided by configuring the "send_arp_for_ha_count" parameter in nova.conf So, to be safe, I would add the following in nova.conf and restart nova services. send

Re: [Openstack] ARP Caching

2015-03-13 Thread Georgios Dimitrakakis
George, how often does it send the gratuitous ARP requests? Does it send it every time a network change is happening? Best, George You have to set two variables in the nova.conf file apparently ("send_arp_for_ha" and "send_arp_for_ha_count"): https://github.com/openstack/nova/blob/3658e1

Re: [Openstack] ARP Caching

2015-03-13 Thread George Mihaiescu
You have to set two variables in the nova.conf file apparently ("send_arp_for_ha" and "send_arp_for_ha_count"): https://github.com/openstack/nova/blob/3658e1015a2f7cb7c321cc1a0adfda37757fd80b/nova/network/linux_net.py#L764 On Fri, Mar 13, 2015 at 2:00 PM, Georgios Dimitrakakis wrote: > > On 0

Re: [Openstack] ARP Caching

2015-03-13 Thread Georgios Dimitrakakis
On 03/13/2015 05:54 AM, Georgios Dimitrakakis wrote: On 03/12/2015 06:24 PM, Georgios Dimitrakakis wrote: Hello! I am facing a rather weird issue and would like to know if anyone has faced it before and the way you have solved it (if any). Firstly, I 'd like to let you know that I am runni

Re: [Openstack] ARP Caching

2015-03-13 Thread Chris Friesen
On 03/13/2015 05:54 AM, Georgios Dimitrakakis wrote: On 03/12/2015 06:24 PM, Georgios Dimitrakakis wrote: Hello! I am facing a rather weird issue and would like to know if anyone has faced it before and the way you have solved it (if any). Firstly, I 'd like to let you know that I am running I

Re: [Openstack] ARP Caching

2015-03-13 Thread Georgios Dimitrakakis
On 03/12/2015 06:24 PM, Georgios Dimitrakakis wrote: Hello! I am facing a rather weird issue and would like to know if anyone has faced it before and the way you have solved it (if any). Firstly, I 'd like to let you know that I am running Icehouse with Nova-Legacy Networking. I have an ap

Re: [Openstack] ARP Caching

2015-03-13 Thread Chris Friesen
On 03/12/2015 06:24 PM, Georgios Dimitrakakis wrote: Hello! I am facing a rather weird issue and would like to know if anyone has faced it before and the way you have solved it (if any). Firstly, I 'd like to let you know that I am running Icehouse with Nova-Legacy Networking. I have an applic

[Openstack] ARP Caching

2015-03-12 Thread Georgios Dimitrakakis
Hello! I am facing a rather weird issue and would like to know if anyone has faced it before and the way you have solved it (if any). Firstly, I 'd like to let you know that I am running Icehouse with Nova-Legacy Networking. I have an application that launches and terminates VMs very frequent