Comment 2 for bug 1371118

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

Reviewed: https://review.openstack.org/122427
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=7858d4d95154c8596720365e465cca7858cfec5c
Submitter: Jenkins
Branch: master

commit 7858d4d95154c8596720365e465cca7858cfec5c
Author: Mike Fedosin <email address hidden>
Date: Thu Sep 18 18:07:42 2014 +0400

    Initiate deletion of image files if the import was interrupted

    If the image is deleted by appropriate API call while its content
    is still being uploaded in import task in v2, an exception is raised
    and it is not handled in the API code. This leads to the fact that
    the uploaded image file stays in a storage and clogs it.

    There existed code that safely removes image files if the exception
    occurs.

    Change-Id: I4f7d1aa103f4ce7abf4026e7097b9e76c24135fa
    Closes-Bug: 1371118