yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03480
[Bug 1199373] Re: Error message not passed to exception
** Changed in: glance
Status: Fix Committed => Fix Released
** Changed in: glance
Milestone: None => havana-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1199373
Title:
Error message not passed to exception
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Bug description:
In the v2 API 'delete/ method, https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L168,
the error explanation message was not passed to the HTTP exception being raised.
"except exception.NotFound as e:
msg = ("Failed to find image %(image_id)s to delete" % locals())
LOG.info(msg)
raise webob.exc.HTTPNotFound() # this should be webob.exc.HTTPNotFound(explanation=msg)
"
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1199373/+subscriptions