yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58016
[Bug 1635182] [NEW] [placement] in api code repeated need to restate json_error_formatter is error prone
Public bug reported:
Any time placement API (v1.0) code wants to raise a webob.exc of some
kind it needs to add a json_formatter attribute to the call. This is
easy to forget. We can probably figure out a way to make this a default,
perhaps by making subclasses of the existing exceptions or setting some
defaults somewhere. Not a huge deal but worth looking into.
** Affects: nova
Importance: Low
Status: Triaged
** Tags: placement
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1635182
Title:
[placement] in api code repeated need to restate json_error_formatter
is error prone
Status in OpenStack Compute (nova):
Triaged
Bug description:
Any time placement API (v1.0) code wants to raise a webob.exc of some
kind it needs to add a json_formatter attribute to the call. This is
easy to forget. We can probably figure out a way to make this a
default, perhaps by making subclasses of the existing exceptions or
setting some defaults somewhere. Not a huge deal but worth looking
into.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1635182/+subscriptions
Follow ups