Attempting to get/delete image member that does not exist returns 404 response with incorrect message
Bug #1444129 reported by
Luke Wollney
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Deepti Ramakrishna |
Bug Description
Overview:
When attempting to get/delete image member that does not exist, a 404 response is returned, but with an incorrect message.
Steps to reproduce:
1) Create an image
2) Try to get or delete image member, passing 'dne' as member id via:
DELETE /images/
3) Notice that a 404 response is returned and that the message reads 'Image <image_id> not found'
Expected:
A 404 response containing a message that reads 'Image member not found'
Actual:
A 404 response with a message that reads 'Image <image_id> not found'
Changed in glance: | |
assignee: | nobody → Deepti Ramakrishna (dramakri) |
tags: | added: low-hanging-fruit |
summary: |
- Attempting to delete image member that does not exist returns 404 - response, but with an incorrect message + Attempting to get/delete image member that does not exist returns 404 + response with incorrect message |
description: | updated |
Changed in glance: | |
importance: | Undecided → Critical |
importance: | Critical → Low |
Changed in glance: | |
status: | New → Confirmed |
Changed in glance: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | liberty-2 → 11.0.0 |
To post a comment you must log in.
This bug is applicable only for v2 api. For v1 api, we get a "405 Method Not Allowed" response, for which there is a separate bug #1326955 (which is marked as "Won't Fix" BTW).