Bug 1117677 - glance image-delete on an image with the status "saving" doesn't delete the image's file from store
Summary: glance image-delete on an image with the status "saving" doesn't delete the i...
Keywords:
Status: CLOSED DUPLICATE of bug 1183647
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-glance
Version: 5.0 (RHEL 7)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 6.0 (Juno)
Assignee: Flavio Percoco
QA Contact: Dafna Ron
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-09 08:06 UTC by Yogev Rabl
Modified: 2016-04-26 20:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-29 14:48:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
The glance's logs (212.09 KB, text/x-log)
2014-07-09 08:06 UTC, Yogev Rabl
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1243127 0 None None None Never

Description Yogev Rabl 2014-07-09 08:06:09 UTC
Created attachment 916662 [details]
The glance's logs

Description of problem:
After running the the scenario described in Bug 1117656, I've deleted two images with that were stuck in "saving" status with 
# glance image-delete <image-id> <image-id>

both of the image's files were still in the store: 
#ls -l /var/lib/glance/images
-rw-r-----. 1 glance glance  2158362624 Jul  9 10:18 d4da7dea-c94d-4c9e-a987-955a905a7fed
-rw-r-----. 1 glance glance  1630994432 Jul  9 10:09 8532ef07-3dfa-4d63-8537-033c31b16814

Version-Release number of selected component (if applicable):
python-glanceclient-0.12.0-1.el7ost.noarch
python-glance-2014.1-4.el7ost.noarch
openstack-glance-2014.1-4.el7ost.noarch


How reproducible:


Steps to Reproduce:
1. Run the scenario from Bug 1117656
2. Delete the image:
# glance image-delete <image-id>


Actual results:
The file is still in the store.

Expected results:
The file has been deleted from the store.

Additional info:
The logs are attached -
images uid's: 
d4da7dea-c94d-4c9e-a987-955a905a7fed
8532ef07-3dfa-4d63-8537-033c31b16814


Note You need to log in before you can comment on or make changes to this bug.