yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #41646
[Bug 1445487] Re: Attempting to deactivate a queued image returns a 403
similar to https://bugs.launchpad.net/glance/+bug/1447322
please refer glance meeting [1] for reason behind marking this as invalid
[1]
http://eavesdrop.openstack.org/meetings/glance/2015/glance.2015-11-19-14.01.log.html
** 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/1445487
Title:
Attempting to deactivate a queued image returns a 403
Status in Glance:
Invalid
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