diff options
author | Alessandro Pilotti <ap@pilotti.it> | 2013-03-04 11:34:42 +0200 |
---|---|---|
committer | Alessandro Pilotti <ap@pilotti.it> | 2013-03-04 13:17:49 +0200 |
commit | 689e9e3e3d48928fe950b26745a7df6fee2f0718 (patch) | |
tree | ec95f5b55faae1b55e6fa725a2e8bd4756dd5d08 /nova/notifications.py | |
parent | bcafae59eeae7989ac56ed25c5d96e775d7b8e9e (diff) | |
download | nova-689e9e3e3d48928fe950b26745a7df6fee2f0718.tar.gz nova-689e9e3e3d48928fe950b26745a7df6fee2f0718.tar.xz nova-689e9e3e3d48928fe950b26745a7df6fee2f0718.zip |
Fixes disk size issue during image boot on Hyper-V
Fixes bug: 1135155
The local root disk size provided in the instance flavor was not properly
taken into account in the Hyper-V driver, this patches provides a
fix for this feature.
In order to resize VHD images with differencing disks (CoW), the cached
base disk is copied to a new file, which is resized to the size
specified in the flavor and cached. This is necessary due to the fact that
differencing VHD disks cannot be resized.
The procedure described above is applied during image spawn, resize and
live migration as needed.
Trying to spawn an instance with a local root disk size smaller than the
image VHD max. internal size will result in an error.
Change-Id: I04f18f0e25c92ed1e1f9f6f18750329a3f9f1711
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions