← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1891360] Re: Floating IP agent gateway IP addresses not released when deleting dead DVR L3 agents

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/787691
Committed: https://opendev.org/openstack/neutron/commit/8cc7c0cf7a5196103b097fae67eccbd5dc3980ac
Submitter: "Zuul (22348)"
Branch:    master

commit 8cc7c0cf7a5196103b097fae67eccbd5dc3980ac
Author: Slawek Kaplonski <skaplons@xxxxxxxxxx>
Date:   Fri Apr 23 10:45:14 2021 +0200

    Remove FIP agent's gw port when L3 agent is deleted
    
    Floating IP agent gateway ports are created for each external network
    for each node where DVR L3 agent is running and where there is some FIP
    from the ext_net.
    But even, if L3 agent is removed (e.g. when scaling down the cluster),
    such floating IP gateway port is never removed so it consumes IP address
    from the external network.
    
    With this patch when the DVR L3 agent is deleted, all such fip gateway
    ports owned by that agent will be deleted.
    When new L3 agent is created (registered in the DB), Neutron will check
    if there are any floating IPs on that host and will recreate such FIP
    gateway ports for it.
    
    Closes-Bug: #1891360
    Change-Id: If6ef990baf039c556d7420962ac4c54608711f06


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  Floating IP agent gateway IP addresses not released when deleting dead
  DVR L3 agents

Status in neutron:
  Fix Released

Bug description:
  We have a system with some dead DVR hypervisors. Ports of type
  network:floatingip_agent_gateway are still associated with them and in
  ACTIVE state. Deleting the L3 agent doesn't delete the ports, which
  means extra floating IPs are still consumed.

  * Version

  OpenStack Train deployed with Kolla-Ansible
  CentOS 7 binary containers on CentOS 7 hosts
  RPM: openstack-neutron-15.0.2-1.el7.noarch

  * Environment: Neutron ML2 OVS + DVR

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


References