yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10189
[Bug 1284317] Re: Not found router raises generic exception
** Also affects: horizon
Importance: Undecided
Status: New
** Changed in: horizon
Assignee: (unassigned) => Matthew D. Wood (woodm1979)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1284317
Title:
Not found router raises generic exception
Status in OpenStack Dashboard (Horizon):
New
Status in OpenStack Neutron (virtual network service):
New
Bug description:
As a horizon developer, I use the neutronclient package, which
currently provides several exceptions that horizon can catch,
including NetworkNotFoundClient, and PortNotFoundClient.
Unfortunately, there is no RouterNotFoundClient exception. When an
api call is made to get a router_id that doesn't exist, a very generic
NeutronClientException is raised which is significantly problematic.
(Though it does have a status_code of 404, and an error message saying
"Router <id> could not be found" which is good.)
I'd like for a new exception to be thrown so we can catch it and treat
it as a NOT_FOUND error instead of having to parse it and fight
changing-error-messages and the like.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1284317/+subscriptions
References