yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #36332
[Bug 1480156] [NEW] Image NotFound and NoUniqueMatch raises same CommandError in openstackclient part
Public bug reported:
Exceptions are not structured correctly (at least not friedly) when
using method find_resource from openstackclient API from python-
glanceclient.
CommandError exception is raised for both NotFound and NoUniqueMatch,
error message is different, what is good, but it would be better provide
more descriptive exception too.
Related code https://github.com/openstack/python-
glanceclient/blob/master/glanceclient/openstack/common/apiclient/utils.py#L72-L100
** Affects: glance
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1480156
Title:
Image NotFound and NoUniqueMatch raises same CommandError in
openstackclient part
Status in Glance:
New
Bug description:
Exceptions are not structured correctly (at least not friedly) when
using method find_resource from openstackclient API from python-
glanceclient.
CommandError exception is raised for both NotFound and NoUniqueMatch,
error message is different, what is good, but it would be better
provide more descriptive exception too.
Related code https://github.com/openstack/python-
glanceclient/blob/master/glanceclient/openstack/common/apiclient/utils.py#L72-L100
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1480156/+subscriptions