diff options
| author | Boris Filippov <bfilippov@griddynamics.com> | 2012-05-16 15:17:53 +0400 |
|---|---|---|
| committer | Boris Filippov <bfilippov@griddynamics.com> | 2012-06-12 23:48:09 +0400 |
| commit | e0540dfed1c1276106105aea8d5765356961ef3d (patch) | |
| tree | a56df4f2900d19e49e55675ea232c608866a1ba8 /nova/openstack | |
| parent | 6555c5a8728c5eed9fc104894fdb988a5c9d3e0b (diff) | |
| download | nova-e0540dfed1c1276106105aea8d5765356961ef3d.tar.gz nova-e0540dfed1c1276106105aea8d5765356961ef3d.tar.xz nova-e0540dfed1c1276106105aea8d5765356961ef3d.zip | |
blueprint lvm-disk-images
Add ability to use LVM volumes for VM disks.
Implements LVM disks support for libvirt driver.
VM disks will be stored on LVM volumes in volume group
specified by `libvirt_images_volume_group` option.
Another option `libvirt_local_images_type` specify which storage
type will be used. Supported values are `raw`, `lvm`, `qcow2`,
`default`. If `libvirt_local_images_type` = `default`, usual
logic with `use_cow_images` flag is used.
Boolean option `libvirt_sparse_logical_volumes` controls which type
of logical volumes will be created (sparsed with virtualsize or
usual logical volumes with full space allocation). Default value
for this option is `False`.
Commit introduce three classes: `Raw`, `Qcow2` and `Lvm`. They contain
image creation logic, that was stored in
`LibvirtConnection._cache_image` and `libvirt_info` methods,
that produce right `LibvirtGuestConfigDisk` configurations for
libvirt. `Backend` class choose which image type to use.
Change-Id: I0d01cb7d2fd67de2565b8d45d34f7846ad4112c2
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
