Comment 9 for bug 1885528

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

Reviewed: https://review.opendev.org/c/openstack/nova/+/757084
Committed: https://opendev.org/openstack/nova/commit/e926ec75e29dcdf3b671811533587bba246a8c45
Submitter: "Zuul (22348)"
Branch: stable/train

commit e926ec75e29dcdf3b671811533587bba246a8c45
Author: Balazs Gibizer <email address hidden>
Date: Thu Jul 2 12:13:29 2020 +0200

    Use absolute path during qemu img rebase

    During an assisted volume snapshot delete request from Cinder nova
    removes the snapshot from the backing file chain. During that nova
    checks the existence of such file. However in some cases (see the bug
    report) the path is relative and therefore os.path.exists fails.

    This patch makes sure that nova uses the volume absolute path to make
    the backing file path absolute as well.

    Closes-Bug #1885528

    Change-Id: I58dca95251b607eaff602783fee2fc38e2421944
    (cherry picked from commit b9333125790682f9d60bc74fdbb12a098565e7c2)
    (cherry picked from commit 831abc9f83a2d3f517030f881e7da724417fea93)
    (cherry picked from commit c2044d4bd0919860aa2d49687ba9c6ef6f7d37e8)