yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #32226
[Bug 1445487] Re: Attempting to deactivate a queued image returns a 403
Talking with a couple of developers, it appears the upstream docs will
be updated as well as the code, changing this to response code to a 409
** Changed in: glance
Status: Invalid => In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1445487
Title:
Attempting to deactivate a queued image returns a 403
Status in OpenStack Image Registry and Delivery Service (Glance):
In Progress
Bug description:
Overview:
When attempting to deactivate a queued image (one without an image file) returns a "'403 Forbidden - Not allowed to deactivate image in status 'queued'".
Steps to reproduce:
1) Register a new image as user
2) Without uploading an image file, deactivate the image as admin via:
POST /images/<image_id>/actions/deactivate
3) Notice that a "'403 Forbidden - Not allowed to deactivate image in status 'queued'" is returned
Expected:
A 400 response should be returned with the same message
Actual:
A 403 response is returned
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1445487/+subscriptions
References