Public bug reported: 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 ** Affects: neutron Importance: Undecided Assignee: LIU Yulong (dragon889) Status: New ** Changed in: neutron Assignee: (unassigned) => LIU Yulong (dragon889) -- 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: New 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