yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22264
[Bug 1339564] Re: glance image-delete on an image with the status "saving" doesn't delete the image's file from store
*** This bug is a duplicate of bug 1243127 ***
https://bugs.launchpad.net/bugs/1243127
** This bug is no longer a duplicate of bug 1329319
Restart glance when a image is uploading, then delete the image. The data of the image is not deleted
** This bug has been marked a duplicate of bug 1243127
Image is not clean when uploading image kill glance process
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1339564
Title:
glance image-delete on an image with the status "saving" doesn't
delete the image's file from store
Status in OpenStack Image Registry and Delivery Service (Glance):
New
Bug description:
Description of problem:
After running the the scenario described in bugs.launchpad.net/cinder/+bug/1339545 , 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 bugs.launchpad.net/cinder/+bug/1339545
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1339564/+subscriptions
References