virt-install --import broken when specifying a non-raw disk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virtinst (Debian) |
Fix Released
|
Unknown
|
|||
virtinst (Ubuntu) |
Fix Released
|
Medium
|
Jamie Strandboge | ||
Lucid |
Fix Released
|
Medium
|
Jamie Strandboge | ||
Maverick |
Fix Released
|
Medium
|
Jamie Strandboge | ||
Natty |
Fix Released
|
Medium
|
Jamie Strandboge |
Bug Description
Binary package hint: virtinst
1. libvirt 0.8.3 and later (and the upcoming libvirt update for lucid-security) does not probe qemu disks for the image format and defaults to 'raw' when the format is not specified in the XML. This breaks virt-install --import because the version in maverick does not allow for specifying a disk format and does not specify a format in the XML.
WORKAROUND:
After importing, use /usr/sbin/
2. this is fixed upstream in 0.500.4, but not in Debian (or Natty)
3. patch fixes this bug by adding/honoring the 'format=' option when specifying a disk. It also updates the testsuite to work with Debian's patches for adjusting the path for Xen (unrelated to this bug, but useful for testing).
4a. TEST CASE (in maverick release):
$ virt-install --connect=
$ virt-viewer --connect=
4b. TEST CASE (after update to -proposed):
$ virt-install --connect=
$ virt-viewer --connect=
5. Risk of regression is considered low. Patch is not intrusive, adds a test to the test suite for this behavior, comes from upstream, passes the 'python setup.py test' and 'python setup.py test_cli' tests from the testsuite, and has been tested using QRT.
Changed in virtinst (Ubuntu Maverick): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
importance: | Undecided → Medium |
milestone: | none → maverick-updates |
status: | New → In Progress |
Changed in virtinst (Ubuntu Lucid): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
importance: | Undecided → Medium |
milestone: | none → lucid-updates |
status: | New → In Progress |
description: | updated |
Changed in virtinst (Debian): | |
status: | Unknown → New |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
Changed in virtinst (Debian): | |
status: | New → Fix Released |
Uploaded 0.500.3-2ubuntu1.1 to maverick-proposed.