← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1193143] Re: unable to clear extra routes from router

 

** Changed in: neutron
       Status: Fix Committed => 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/1193143

Title:
  unable to clear extra routes from router

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  When using the extra route extension a user can specify static routes
  for the router. For instance he can do:

  router1 --routes type=dict list=true
  destination=40.0.1.0/24,nexthop=10.0.0.3

  However what happens if he wants to delete a router interface?

  he does:

  quantum router-interface-delete 4213dc9a-6160-4e20-ade9-a152d18bde73 96d45271-e636-4f0f-a76e-583618d6e238
  Router interface for subnet 96d45271-e636-4f0f-a76e-583618d6e238 on router 4213dc9a-6160-4e20-ade9-a152d18bde73 cannot be deleted, as it is required by one or more routes

  ...ok so he goes and delete the route.......oh wait...he cannot
  because: a) the CLI does not allow to reset fields (bug 1086232); b)
  the API only allows update (bug 1192316).  End result: He is stuck!

  How would we solve this empasse? My suggestion would be to either
  relax the constraint (i.e. remove routes when the interface needs to
  be removed), or address one of the above-mentioned bug. Either way, if
  we do nothing the extraroute extension leads a user to be unable to
  destroy a router and that's bad.

  All of this assumed that I am not barking at the end the wrong tree.

  Thoughts?

  Thanks,
  Armando

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