← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1793354] [NEW] Changing of_interface between native and ovs-ofctl causes packet drops

 

Public bug reported:

When I change [ovs] of_interface option from ovs-ofctl to native, ping
packets are dropped when restarting ovs-agent.

https://review.openstack.org/#/c/599496/ tries to drop of_interface option.
This means if a deployer uses of_interface "ovs-ofctl" packet drops always occur regardless of their intention.

I am not sure this packet drop is the expected behavior when changing
of_interface option.

I confirmed this behavior with the neutron master (stein).
commit 317cdbf40850964080a0a30d6212a3b536df1caa

Note that the similar packet loss is observed when I changed
of_interface from native to ovs-ofctl, but I think this is less
important.

Steps to reproduce:

(1) Create a server and associate a FIP to the server
(2) Allow PING to the server
(3) Set[ovs] of_interface option to "ovs-ofctl" and run "sudo service devstack@neutron-agent restart" to ensure of_interface is "ovs-ofctl"
(4) Start ping to the server like "ping 172.24.4.3 -i 0.2" (172.24.4.3 is the FIP)
(5) Set[ovs] of_interface option to "native" and run "sudo service devstack@neutron-agent restart" to ensure of_interface is "native"
(6) Wait for 10 or some seconds (to ensure OVS flows are repopulated)
(7) Stop ping and check if a packet loss occurs

Result:
http://paste.openstack.org/show/730374/
115 packets transmitted, 108 received, 6% packet loss, time 22843ms

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ovs

** Tags added: ovs

** Description changed:

  When I change [ovs] of_interface option from ovs-ofctl to native, ping
  packets are dropped when restarting ovs-agent.
  
  https://review.openstack.org/#/c/599496/ tries to drop of_interface option.
  This means if a deployer uses of_interface "ovs-ofctl" packet drops always occur regardless of their intention.
  
  I am not sure this packet drop is the expected behavior when changing
  of_interface option.
  
  I confirmed this behavior with the neutron master (stein).
  commit 317cdbf40850964080a0a30d6212a3b536df1caa
+ 
+ Note that the similar packet loss is observed when I changed
+ of_interface from native to ovs-ofctl, but I think this is less
+ important.
  
  Steps to reproduce:
  
  (1) Create a server and associate a FIP to the server
  (2) Allow PING to the server
  (3) Set[ovs] of_interface option to "ovs-ofctl" and run "sudo service devstack@neutron-agent restart" to ensure of_interface is "ovs-ofctl"
  (4) Start ping to the server like "ping 172.24.4.3 -i 0.2" (172.24.4.3 is the FIP)
  (5) Set[ovs] of_interface option to "native" and run "sudo service devstack@neutron-agent restart" to ensure of_interface is "native"
  (6) Wait for 10 or some seconds (to ensure OVS flows are repopulated)
  (7) Stop ping and check if a packet loss occurs
  
  Result:
  http://paste.openstack.org/show/730374/
  115 packets transmitted, 108 received, 6% packet loss, time 22843ms

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1793354

Title:
  Changing of_interface between native and ovs-ofctl causes packet drops

Status in neutron:
  New

Bug description:
  When I change [ovs] of_interface option from ovs-ofctl to native, ping
  packets are dropped when restarting ovs-agent.

  https://review.openstack.org/#/c/599496/ tries to drop of_interface option.
  This means if a deployer uses of_interface "ovs-ofctl" packet drops always occur regardless of their intention.

  I am not sure this packet drop is the expected behavior when changing
  of_interface option.

  I confirmed this behavior with the neutron master (stein).
  commit 317cdbf40850964080a0a30d6212a3b536df1caa

  Note that the similar packet loss is observed when I changed
  of_interface from native to ovs-ofctl, but I think this is less
  important.

  Steps to reproduce:

  (1) Create a server and associate a FIP to the server
  (2) Allow PING to the server
  (3) Set[ovs] of_interface option to "ovs-ofctl" and run "sudo service devstack@neutron-agent restart" to ensure of_interface is "ovs-ofctl"
  (4) Start ping to the server like "ping 172.24.4.3 -i 0.2" (172.24.4.3 is the FIP)
  (5) Set[ovs] of_interface option to "native" and run "sudo service devstack@neutron-agent restart" to ensure of_interface is "native"
  (6) Wait for 10 or some seconds (to ensure OVS flows are repopulated)
  (7) Stop ping and check if a packet loss occurs

  Result:
  http://paste.openstack.org/show/730374/
  115 packets transmitted, 108 received, 6% packet loss, time 22843ms

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1793354/+subscriptions


Follow ups