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
(cherry picked from commit 5d15f073718328380f2d847e4abfb9307536d810)
Reviewed: https:/ /review. opendev. org/701491 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=8c2bc608207 83f76c9421d615d 3828a88008ca96
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 8c2bc60820783f7 6c9421d615d3828 a88008ca96
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 80f2d847e4abfb9 307536d810)
Closes-Bug: #1855417
(cherry picked from commit 5d15f0737183283