Uploaded 0.500.3-2ubuntu1.1 to maverick-proposed.
** Description changed:
Binary package hint: virtinst
- libvirt 0.8.3 and later (and the upcoming libvirt update for lucid-
+ 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.
- TEST CASE (in maverick release):
+ WORKAROUND:
+ After importing, use /usr/sbin/libvirt-migrate-qemu-disks
+
+ 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=qemu:///session --name test-import --ram=256 --disk
path=<path to existing qemu non-raw image>.qcow2 --import
$ virt-viewer --connect=qemu:///session test-import # shows that disk cannot
be found
- TEST CASE (after update to -proposed):
+ 4b. TEST CASE (after update to -proposed):
$ virt-install --connect=qemu:///session --name test-import --ram=256 --disk
path=<path to existing qemu non-raw image>.qcow2,format=qcow2 --import
$ virt-viewer --connect=qemu:///session test-import # image starts fine
- WORKAROUND:
- After importing, use /usr/sbin/libvirt-migrate-qemu-disks
+ 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.
** Tags added: regression-release
** Changed in: virtinst (Ubuntu Maverick)
Status: In Progress => Fix Committed
** Changed in: virtinst (Ubuntu)
Milestone: maverick-updates => None
** Also affects: virtinst (Ubuntu Natty)
Importance: Medium
Assignee: Jamie Strandboge (jdstrand)
Status: In Progress
--
virt-install --import broken when specifying a non-raw disk
https://bugs.launchpad.net/bugs/655392
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs