← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1925368] [NEW] [L3] Router GW can be removed with routes defined

 

Public bug reported:

To be able to define a route in a router, an external GW must be
defined. This is a requirement because the nexthop (route GW IP address)
must have connectivity with the GW CIDR; in other words, the route GW IP
must be in the GW CIDR.

When a router does not have an external GW, no route can be added (see
[1]). Only when an external GW is present, the Neutron server allows to
add routes.

The problems I present in this bug is:
1) Why do we allow to remove the external GW with routes (with GW IPs) present in the router.
2) Why, once the first external GW network was removed, do we allow to add another external GW network with a CIDR that the routes GW IP address do not belong. This problem could be solved blocking (1).


[1]http://paste.openstack.org/show/804684/
[2]http://paste.openstack.org/show/804686/

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

Title:
  [L3] Router GW can be removed with routes defined

Status in neutron:
  New

Bug description:
  To be able to define a route in a router, an external GW must be
  defined. This is a requirement because the nexthop (route GW IP
  address) must have connectivity with the GW CIDR; in other words, the
  route GW IP must be in the GW CIDR.

  When a router does not have an external GW, no route can be added (see
  [1]). Only when an external GW is present, the Neutron server allows
  to add routes.

  The problems I present in this bug is:
  1) Why do we allow to remove the external GW with routes (with GW IPs) present in the router.
  2) Why, once the first external GW network was removed, do we allow to add another external GW network with a CIDR that the routes GW IP address do not belong. This problem could be solved blocking (1).

  
  [1]http://paste.openstack.org/show/804684/
  [2]http://paste.openstack.org/show/804686/

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


Follow ups