libvirt: use_cow_images=false and force_raw_images=false broken
Bug #1163009 reported by
Vish Ishaya
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Vish Ishaya | ||
Grizzly |
Fix Released
|
Medium
|
Vish Ishaya |
Bug Description
Repro Steps:
1. set in nova.conf use_cow_
2. set in nova.conf force_raw_
3. upload a qcow2 image to glance
4. boot an instance from the image
Results:
Instance does not boot correctly
Expected:
Instance boots
Changed in nova: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
The xml generated by libvirt uses raw for the device type:
<disk type="file" device="disk"> mnt/instances/ instance- 00000001/ disk"/>
<driver name="qemu" type="raw" cache="none"/>
<source file="/
<target bus="virtio" dev="vda"/>
</disk>
The type should be different depending on the type of the image that is downloaded from glance.