Public bug reported: In the function db._get_router_for_floatingip() we check that the router has a suitable gateway IP, but we do not check if that router is the default gateway for that subnet. When multiple routers exist with ip addresses in both the subnet for the instance, plus the gateway subnet, the function returns the first router it finds rather than the one that instances are using as default gateway.
Can we check a condition such as router_gw_qry.floating_ip == subnet_db['gateway_ip'] in addition to checking has_gw_port? ** 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/1458471 Title: get_router_for_floatingip does not check if router is default gateway Status in OpenStack Neutron (virtual network service): New Bug description: In the function db._get_router_for_floatingip() we check that the router has a suitable gateway IP, but we do not check if that router is the default gateway for that subnet. When multiple routers exist with ip addresses in both the subnet for the instance, plus the gateway subnet, the function returns the first router it finds rather than the one that instances are using as default gateway. Can we check a condition such as router_gw_qry.floating_ip == subnet_db['gateway_ip'] in addition to checking has_gw_port? To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1458471/+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