← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2097770] [NEW] Detaching floating ip of instances makes Neutron L3 routers failover

 

Public bug reported:

When a floating ip of an instance gets detached, the router (L3, in HA
mode) that the instance uses gets failed-over to different L3 agent
causing disruption on tenant network.

Pre-condition:
Number of VMs: 42
Number of routers: 44
User-role: Both member and admin

Steps to reproduce.

1. Prepare any network that is connected to external network with any router.
2. Spawn a VM on the network and assign a floating ip
3. Prepare monitoring router network agent failover
e.g. ``watch "openstack network agent list --long --router <router id>"`` (on API reachable node)
or ``ip netns exec qrouter-<router id> tcpdump -i <ha interface>`` on node where Neutron L3 agent is running.
4. Detach the floating ip of the VM.

Expected result: No failover happens to the router
Actual result: Failover can be observed.

This bug was reproduce-able from systems on Antelope and Caracal releases that use ML2/OVS.
Caracal Host OS: 5.14.0-503.16.1.el9_5.x86_64
Antelope Host OS: 5.14.0-362.13.1.el9_3.x86_64

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  Detaching floating ip of instances makes Neutron L3 routers  failover

Status in neutron:
  New

Bug description:
  When a floating ip of an instance gets detached, the router (L3, in HA
  mode) that the instance uses gets failed-over to different L3 agent
  causing disruption on tenant network.

  Pre-condition:
  Number of VMs: 42
  Number of routers: 44
  User-role: Both member and admin

  Steps to reproduce.

  1. Prepare any network that is connected to external network with any router.
  2. Spawn a VM on the network and assign a floating ip
  3. Prepare monitoring router network agent failover
  e.g. ``watch "openstack network agent list --long --router <router id>"`` (on API reachable node)
  or ``ip netns exec qrouter-<router id> tcpdump -i <ha interface>`` on node where Neutron L3 agent is running.
  4. Detach the floating ip of the VM.

  Expected result: No failover happens to the router
  Actual result: Failover can be observed.

  This bug was reproduce-able from systems on Antelope and Caracal releases that use ML2/OVS.
  Caracal Host OS: 5.14.0-503.16.1.el9_5.x86_64
  Antelope Host OS: 5.14.0-362.13.1.el9_3.x86_64

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



Follow ups