diff options
author | Rafi Khardalian <rafi@metacloud.com> | 2013-02-10 06:05:59 +0000 |
---|---|---|
committer | Rafi Khardalian <rafi@metacloud.com> | 2013-02-10 08:20:44 +0000 |
commit | 65ba31366c2c13ca70342200865b7b5f6624f2e3 (patch) | |
tree | 0c3954913a26138601db4bde53e0ae7ad7efe92c /nova/exception.py | |
parent | f9c4cd90a94516ec05acbb62b13b48af646fa218 (diff) | |
download | nova-65ba31366c2c13ca70342200865b7b5f6624f2e3.tar.gz nova-65ba31366c2c13ca70342200865b7b5f6624f2e3.tar.xz nova-65ba31366c2c13ca70342200865b7b5f6624f2e3.zip |
Properly write non-raw LVM images on creation
Fixes bug 1075333
When force_raw_images=False and libvirt_images_type=lvm were set
together, selecting anything other than a RAW image would result in
an unbootable instance. This is because the downloaded image was
being directly dd'd onto the new LVM root, which will obviously not
work for any format other than RAW.
Simple change to use qemu-img to read from the image (letting it
decide the format) and write to the LVM root as raw.
Change-Id: I36494e6d0671c07f7511c10ef886c8cf84c18df7
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions