nova writes libvirt xml 'driver_type' based only on FLAGS.use_cow_images
Bug #837102 reported by
Scott Moser
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Unassigned |
Bug Description
This is just from reading code, so I could be wrong.
However, in _prepare_xml_info() of nova/virt/
if FLAGS.use_
else:
It seems that that will be wrong in the case that the image uploaded is qcow2.
_cache_image will have done a 'cp' of the original image, and thus the image will still be in qcow format.
I've not verified whether or not libvirt/kvm care, or if this is only grammatical.
Related branches
lp:~smoser/nova/lp853330
- Soren Hansen (community): Approve
- Vish Ishaya (community): Approve
-
Diff: 85 lines (+60/-1)2 files modifiednova/virt/images.py (+59/-0)
nova/virt/libvirt/connection.py (+1/-1)
lp:~smoser/nova/milestone-proposed.lp853330
- OpenStack release team: Pending requested
-
Diff: 85 lines (+60/-1)2 files modifiednova/virt/images.py (+59/-0)
nova/virt/libvirt/connection.py (+1/-1)
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in nova: | |
status: | Triaged → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.3 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is true, however uploading a qcow2 works fine so I assume that libvirt is smart enough to load it correctly anyway.