Comment 6 for bug 1855417

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (stable/stein)

Reviewed: https://review.opendev.org/701891
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=149ea050cc58f39eaf9b4660bb8f0271b99d03da
Submitter: Zuul
Branch: stable/stein

commit 149ea050cc58f39eaf9b4660bb8f0271b99d03da
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.
    Conflicts:
            glance/api/v2/images.py
            glance/async_/flows/api_image_import.py
            glance/common/store_utils.py

    NOTE: Conflicts occured due to reserved store capability is not
    available in Stein.

    Change-Id: Ib58accd6514e589dccde57fe063815b1ab1ce496
    Closes-Bug: #1855417
    (cherry picked from commit 5d15f073718328380f2d847e4abfb9307536d810)