Reviewed: https://review.opendev.org/656353 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=45957f12c897f6dcdf3676649a28dac866450afd Submitter: Zuul Branch: master
commit 45957f12c897f6dcdf3676649a28dac866450afd Author: LIU Yulong <[email protected]> Date: Thu Apr 25 15:25:34 2019 +0800 Keep HA ports info for HA router during entire lifecycle Once HA port is set, it must remain this value no matter what the server return. Because there is race condition between l3-agent side sync router info for processing and server side router deleting. This patch adds a helper function for every ha_port set action. If the ha_port is not None, it will always stay with original value. Closes-Bug: #1826726 Change-Id: I96a088d25048be02a9c5b12c1d087df075b36fc4 ** 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/1826726 Title: [L3] stale device/process remain in network node after router removed Status in neutron: Fix Released Bug description: [L3] stale device/process remain in network node after router removed ENV: stable/queens Step to reproduce: 1. create HA router 2. attach router interface to subnet 3. remove router interface from subnet 4. delete router Just run these 4 steps a few times, you may see there will be ha-ports and neutron-keepalived-state-change process remain in the network node after router was totally removed. Test script: function create_clean_net_struct() { neutron net-create scale-test-net-${1} subnet_id=`neutron subnet-create --name scale-test-subnet-${1} scale-test-net-${1} 192.168.${1}.0/24|grep "| id"|awk '{print $4}'` router_id=`neutron router-create scale-test-router-${1}|grep "| id"|awk '{print $4}'` neutron router-interface-add $router_id subnet=$subnet_id neutron router-interface-delete $router_id subnet=$subnet_id neutron router-delete $router_id neutron subnet-delete scale-test-subnet-${1} neutron net-delete scale-test-net-${1} } create_clean_net_struct $1 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1826726/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

