Attempting to reactivate a queued image returns a 403

Bug #1447322 reported by Luke Wollney
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Undecided
Unassigned

Bug Description

Overview:
When attempting to reactivate a queued image (one without an image file) returns a "'403 Forbidden - Not allowed to reactivate image in status 'queued'".

Steps to reproduce:
1) Register a new image as user
2) Without uploading an image file, reactivate the image as admin via:
POST /images/<image_id>/actions/reactivate
3) Notice that a "'403 Forbidden - Not allowed to reactivate image in status 'queued'" is returned

Expected:
Currently a 400 response should be returned with the same message per spec, but this is expected to be changed to a 409

Actual:
A 403 response is returned

Changed in glance:
assignee: nobody → Deepti Ramakrishna (dramakri)
Revision history for this message
Abhishek Kekane (abhishek-kekane) wrote :

Hi Deepti,

Are you working on this issue?

Revision history for this message
Deepti Ramakrishna (dramakri) wrote :

Hi Abhishek,

I have unassigned myself. Feel free to work on it.

Thanks,
Deepti

Changed in glance:
assignee: Deepti Ramakrishna (dramakri) → nobody
Revision history for this message
Abhishek Kekane (abhishek-kekane) wrote :

As per discussion in glance meeting [1] this bug should be marked as Invalid.

[1] http://eavesdrop.openstack.org/meetings/glance/2015/glance.2015-11-19-14.01.log.html

Changed in glance:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.