Public bug reported:
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
** 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/1445487
Title:
Attempting to deactivate a queued image returns a 403
Status in OpenStack Image Registry and Delivery Service (Glance):
New
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
--
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