Comment 8 for bug 1881727

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

Reviewed: https://review.opendev.org/748035
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=06df7cae31246e233dd5cf9b92c6484b519156de
Submitter: Zuul
Branch: stable/train

commit 06df7cae31246e233dd5cf9b92c6484b519156de
Author: esubramanian <email address hidden>
Date: Mon Jun 8 23:08:30 2020 -0700

    Removes the delta file once image is extracted

    When creating a live snapshot of an instance, nova creates a
    copy of the instance disk using a QEMU shallow rebase. This
    copy - the delta file - is then extracted and uploaded. The
    delta file will eventually be deleted, when the temporary
    working directory nova is using for the live snapshot is
    discarded, however, until this happens, we will use 3x the
    size of the image of host disk space: the original disk,
    the delta file, and the extracted file. This can be problematic
    when concurrent snapshots of multiple instances are requested
    at once.

    The solution is simple: delete the delta file after it has
    been extracted and is no longer necessary.

    Change-Id: I15e9975fa516d81e7d34206e5a4069db5431caa9
    Closes-Bug: #1881727
    (cherry picked from commit d2af7ca7a5c862f53f18c00ac76fc85336fa79e6)
    (cherry picked from commit e51555b3f0324b8b72a2b3280a1c30e104b6d8ea)