commit 34f4167974868f817ece4a09ab663ce4a87d3647
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.
Conflicts: nova/virt/libvirt/driver.py
NOTE(mriedem): The conflict is due to not having change
I9616a602ee0605f7f1dc1f47b6416f01895e025b in Ocata.
Closes-Bug: #1770640
Change-Id: I464bc2b88123a012cd12213beac4b572c3c20a56
(cherry picked from commit 016986f4706e881fed16c85c8790af4d26a7c351)
(cherry picked from commit 2dc9795a0df40c51ef3c79f99e57725db99019c0)
(cherry picked from commit 938c0a745325fa73d098c6d5ddd20b2a599f9624)
Reviewed: https:/ /review. openstack. org/568382 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=34f41679748 68f817ece4a09ab 663ce4a87d3647
Committed: https:/
Submitter: Zuul
Branch: stable/ocata
commit 34f4167974868f8 17ece4a09ab663c e4a87d3647
Author: Lee Yarwood <email address hidden>
Date: Fri May 11 15:04:48 2018 +0100
libvirt: Report the virtual size of RAW disks
If642e51a4e 186833349a8e30b 04224a3687f5594 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.
Conflicts:
nova/ virt/libvirt/ driver. py
NOTE(mriedem): The conflict is due to not having change 0605f7f1dc1f47b 6416f01895e025b in Ocata.
I9616a602ee
Closes-Bug: #1770640 12cd12213beac4b 572c3c20a56 fed16c85c8790af 4d26a7c351) 1ef3c79f99e5772 5db99019c0) 3d098c6d5ddd20b 2a599f9624)
Change-Id: I464bc2b88123a0
(cherry picked from commit 016986f4706e881
(cherry picked from commit 2dc9795a0df40c5
(cherry picked from commit 938c0a745325fa7