← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1284343] Re: RouterNotFound not handled correctly

 

The review has been abandoned for quite a long time.  The quick-fix
wasn't necessary.

** Changed in: horizon
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1284343

Title:
  RouterNotFound not handled correctly

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  When a call to the neutronclient attempts to find a router that
  doesn't exist, the neutronclient returns a very generic
  NeutronClientException.  This, in turn, isn't handled correctly within
  horizon.exceptions.handle; it's treated as a RECOVERABLE error instead
  of a NOT_FOUND error.  Clearly, this is a bad thing, and redirects
  don't happen correctly and all manner of other bad things can happen.

  I've opened up a bug against the neutronclient here:
  https://bugs.launchpad.net/neutron/+bug/1284317

  
  There's 2 solutions to this problem:

  A)  Fix the neutronclient code to actually have a RouterNotFoundClient
  exception (just like the NetworkNotFoundClient and PortNotFoundClient
  exceptions) and then add that to the appropriate bucket:
  openstack_dashboard.exceptions.NOT_FOUND .  Clearly the downsides of
  this approach are that we have to wait for the neutron bug to be
  fixed, and then our code would then depend upon that fix.

  B)  Temp-fix things in the mean time.

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


References