Reviewed: https://review.opendev.org/657207 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=3d99147e732ab4cdad0b8243e5fabb6a8954aa72 Submitter: Zuul Branch: master
commit 3d99147e732ab4cdad0b8243e5fabb6a8954aa72 Author: LIU Yulong <i...@liuyulong.me> Date: Wed Apr 24 14:19:36 2019 +0800 Ensure dvr ha router gateway port binding host There are some extreme conditions which will result the unbound router gateway port. Then all the centralized floating IPs will not be reachable since the gateway port was set to 4095 tag. This patch adds the HA status to the router related port processing code path. If it is HA router, the gateway port will go to the right HA router processing code branch. Closes-Bug: #1827754 Change-Id: Ida1c9f3a38171ea82adc2f11cb17945d6e2434be ** 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/1827754 Title: [L3] snat gateway port may stay 4095 after router fully initialized in l3 agent Status in neutron: Fix Released Bug description: ENV: stable/queens, but master branch has the same code. There are some extremly conditions which will result the unbound router gateway port. Then all the centrilized floating IPs will not be reachable since the gateway port was set to 4095 tag. How to reproduce: just simply creating dvr HA router, set gateway, and add interface. You can run the following script 100 times to create 100 routers: for i in {1..100};do script.sh $i;done Then you may see there are some gatway ports are set to 4095 in the snat node. Test script: function create_net_struct() { neutron router-create scale-test-router-${1} neutron net-create scale-test-net-${1} neutron subnet-create --name scale-test-subnet-${1} scale-test-net-${1} 192.168.${1}.0/24 neutron router-gateway-set scale-test-router-${1} public neutron router-interface-add scale-test-router-${1} subnet=scale-test-subnet-${1} } create_net_struct $1 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1827754/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp