Glance image delete output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Kamil Rykowski |
Bug Description
Description of problem: Deleting a none existing image should always return same output.
Version-Release number of selected component (if applicable):
RHEL7
openstack-
python-
python-
How reproducible:
Every time
Steps to Reproduce:
1. Upload a test image glance image-create ...
2. Glance image-list note new image's ID
3. Delete that same image glance image-delete <imageID>
3. Note output ->
Request returned failure status.
404 not found
Image 07169a6f-
(HTTP 404): Unable to delete image 07169a6f-
4. Now delete a none existing image glance image-delete <fakeImageID>
5. Output ->
Request returned failure status.
No image with a name or ID of '07169a6f-
Actual results:
See step 3 / 5 each one returns another output
Expected results:
It would be better if both deletions would return same output. Preferably this one -> No image with a name or ID of '....' exists.
From a user's stand point deleting a none existing image should always return same output, the fact that one of the images still has a DB listing which causes a different output is a bit misleading for someone not familiar with system's inner workings. If this unique output is a must maybe improve wording, "No image with name of ID.... exists, but there is an old listing in DB for it.. "
Changed in glance: | |
assignee: | nobody → tcs_openstack_group (tcs-openstack-group) |
Changed in glance: | |
status: | New → Fix Committed |
Changed in glance: | |
assignee: | tcs_openstack_group (tcs-openstack-group) → Rajani Srivastava (srivastava-rajani) |
Changed in glance: | |
assignee: | Rajani Srivastava (srivastava-rajani) → Abhishek Talwar (abhishek-talwar) |
Changed in glance: | |
assignee: | Abhishek Talwar (abhishek-talwar) → Kamil Rykowski (kamil-rykowski) |
Changed in glance: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | kilo-3 → 2015.1.0 |
Glance api.log it's a shared system not a clean log, sorry about that.