Pls refer the discussion of the code review on Gerrit.
** Changed in: glance
Status: In Progress => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1199359
Title:
Incorrect webob exception raised for v1 API member operations
Status in OpenStack Image Registry and Delivery Service (Glance):
Invalid
Bug description:
The following methods raise an incorrect HTTP exception for a
corresponding core exception in glance's v1 API:
1. Delete member from image:
https://github.com/openstack/glance/blob/master/glance/api/v1/members.py#L93
2. Update image membership:
https://github.com/openstack/glance/blob/master/glance/api/v1/members.py#L136
3. Update all members of image:
https://github.com/openstack/glance/blob/master/glance/api/v1/members.py#L168
In all the three cases, if the operation raises Forbidden exception,
webob.exc.HTTPForbidden should be returned to the user instead of
HTTPNotFound.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1199359/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp