add ability to create VMs with disks stored in LVM
Rationale
---------
`QEmu` allows several types of storages. For local storage it is possible to use regular block device, `raw` image file
or special format called `qcow2`. OpenStack offers only `raw` or `qcow2` disks. Historically our (Grid Dynamics)
infrastructure was based on `qemu-kvm` with `LVM` as disk storage. When we started moving it to OpenStack based
infrastructure we measured performance of `qcow2` disks.
In brief, our tests show performance degradation on `qcow2` disks comparing to `LVM` is 5-50% depending on operation.
The biggest difference (50%) was archived in sequential IO of very big data.
Proposal
--------
Add ability for administrator to choose, which type of local storage he wants to use: `raw`, `LVM` or `qcow2`.
We propose to introduce a new flag `libvirt_
Boolean flag `use_cow_images` should be ignored, if `libvirt_
but keep working, if `libvirt_
New flag `libvirt_
Boolean option `libvirt_
of logical volumes will be created (sparsed with virtualsize or usual logical volumes with full space allocation). Default value for this option is `False`.
Blueprint information
- Status:
- Complete
- Approver:
- Vish Ishaya
- Priority:
- Low
- Drafter:
- Boris Filippov
- Direction:
- Approved
- Assignee:
- Boris Filippov
- Definition:
- Approved
- Series goal:
- Accepted for folsom
- Implementation:
-
Implemented
- Milestone target:
-
2012.2
- Started by
- Boris Filippov
- Completed by
- Thierry Carrez
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
blueprint lvm-disk-images