← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1520775] Re: Remove the gateway of external net won't affect router

 

Reviewed:  https://review.openstack.org/254750
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=f9d0dd39e6b3b14244e0a185c4a1f7f35f48f3e7
Submitter: Jenkins
Branch:    master

commit f9d0dd39e6b3b14244e0a185c4a1f7f35f48f3e7
Author: root <root@normal1.localdomain>
Date:   Thu Jul 7 13:32:44 2016 +0000

    Delete default route if no gateway in external net
    
    Currently, when the default route is added to device, there is no
    way to delete it. Even if user clear the gateway ip of external
    net, there is still a default route present in router namespace.
    
    This patch will check the default route in namespace first. If its
    gateway ip is not one of the gateway ips in external net. This
    default route will be deleted.
    
    Change-Id: If2ab88b392f3935306d73e3c2de0a35548567464
    Closes-Bug: #1520775


** 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/1520775

Title:
  Remove the gateway of external net won't affect router

Status in neutron:
  Fix Released

Bug description:
  I found this one when build up a test env.

  Steps to reproduce:
  1) I create a set of external network, internal network and router. The external network has gateway ip in its subnet.
  2) connect the external, internal network and router, by using router-gateway-set, router-interface-add.
  3) Then I realize my physical network doesn't have a gateway. So I update the subnet of external network with --no-gateway.
  4) I can't see the default route be deleted in router namespace, even if I restart l3-agent.

  
  I try it in legacy router and DVR, they both have this problem, and I believe HA router will have this problem.

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


References