Comment 7 for bug 1770640

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

Reviewed: https://review.openstack.org/567899
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=016986f4706e881fed16c85c8790af4d26a7c351
Submitter: Zuul
Branch: master

commit 016986f4706e881fed16c85c8790af4d26a7c351
Author: Lee Yarwood <email address hidden>
Date: Fri May 11 15:04:48 2018 +0100

    libvirt: Report the virtual size of RAW disks

    If642e51a4e186833349a8e30b04224a3687f5594 started to correctly report
    the actual size of preallocated file based disks but missed that this
    value was later used as the virtual disk size for RAW disks.

    This is an issue as nova.virt.libvirt.utils.create_image creates these
    disks as sparse files with a reported actual size much smaller than the
    virtual size. During block based LM this then results in disks
    on the destination being created with a much smaller virtual size than
    the disk should have leading to errors during the transfer.

    Closes-Bug: #1770640
    Change-Id: I464bc2b88123a012cd12213beac4b572c3c20a56