Reviewed: https://review.opendev.org/697647 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=5d15f073718328380f2d847e4abfb9307536d810 Submitter: Zuul Branch: master
commit 5d15f073718328380f2d847e4abfb9307536d810 Author: Abhishek Kekane <akek...@redhat.com> Date: Fri Dec 6 10:35:55 2019 +0000 Staging area not cleared if image is deleted while importing If multiple stores configured in glance and Image is deleted while import operation is in progress then image data stays in staging area (filesystem backend) and there is no other way than clearing it manually. Modified delete method to delete the data from staging area if image is deleted while import operation is in progress. Change-Id: Ib58accd6514e589dccde57fe063815b1ab1ce496 Closes-Bug: #1855417 ** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1855417 Title: Image data stays in staging store if image is deleted while its in importing state Status in Glance: Fix Released Bug description: Image data stays in staging area (filesystem backend) if image is deleted while it is in 'importing' state. Steps to reproduce: 1. Create image using new import workflow: glance image-create-via-import --disk-format qcow2 --container-format bare --name testing-import-delete --file <file-name. 2. Verify image is in 'importing' state and issue the delete call glance image-delete <image-id-from-step-1> Expected result: 1. Image should be deleted 2. Image data from staging area should be deleted Actual result: 1. Image is deleted but; 2. Image data from staging area is not deleted To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1855417/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp