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.
Reviewed: https:/ /review. opendev. org/697647 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=5d15f073718 328380f2d847e4a bfb9307536d810
Committed: https:/
Submitter: Zuul
Branch: master
commit 5d15f0737183283 80f2d847e4abfb9 307536d810
Author: Abhishek Kekane <email address hidden>
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: Ib58accd6514e58 9dccde57fe06381 5b1ab1ce496
Closes-Bug: #1855417