[Bug 659532] [NEW] vmbuilder XML is incomplete with libvirt 0.8.3 (No bootable devices)
Jamie Strandboge
jamie at ubuntu.com
Tue Oct 12 22:39:31 BST 2010
Public bug reported:
Binary package hint: vmbuilder
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 vmbuilder
because the version in maverick does not specify a format in the XML.
WORKAROUND:
After creating, use '/usr/sbin/libvirt-migrate-qemu-disks'. Should be able to also use the '--raw' option when running vmbuilder (need to create the disk first when using '--raw', eg: 'qemu-img create foo.img 2G'), but I can't seem to get this to work right.
TEST CASE (in maverick release):
$ sudo vmbuilder kvm ubuntu --suite lucid --flavour virtual --arch i386 -o --libvirt qemu:///system
$ virsh start ubuntu
$ virt-viewer ubuntu
At this point the VM has started, but shows 'No bootable devices'
** Affects: vm-builder (Ubuntu)
Importance: High
Status: Triaged
** Affects: vm-builder (Ubuntu Lucid)
Importance: High
Status: Triaged
** Affects: vm-builder (Ubuntu Maverick)
Importance: High
Status: Triaged
** Affects: vm-builder (Ubuntu Natty)
Importance: High
Status: Triaged
** Tags: regression-release
** Changed in: vm-builder (Ubuntu)
Importance: Undecided => High
** Changed in: vm-builder (Ubuntu)
Status: New => Triaged
** Description changed:
- Binary package hint: virtinst
+ Binary package hint: vmbuilder
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 vmbuilder
because the version in maverick does not specify a format in the XML.
WORKAROUND:
After creating, use '/usr/sbin/libvirt-migrate-qemu-disks'. Should be able to also use the '--raw' option when running vmbuilder (need to create the disk first when using '--raw', eg: 'qemu-img create foo.img 2G'), but I can't seem to get this to work right.
TEST CASE (in maverick release):
$ sudo vmbuilder kvm ubuntu --suite lucid --flavour virtual --arch i386 -o --libvirt qemu:///system
$ virsh start ubuntu
$ virt-viewer ubuntu
At this point the VM has started, but shows 'No bootable devices'
** Also affects: vm-builder (Ubuntu Lucid)
Importance: Undecided
Status: New
** Also affects: vm-builder (Ubuntu Maverick)
Importance: Undecided
Status: New
** Also affects: vm-builder (Ubuntu Natty)
Importance: High
Status: Triaged
** Changed in: vm-builder (Ubuntu Maverick)
Status: New => Triaged
** Changed in: vm-builder (Ubuntu Lucid)
Status: New => Triaged
** Changed in: vm-builder (Ubuntu Lucid)
Importance: Undecided => High
** Changed in: vm-builder (Ubuntu Maverick)
Importance: Undecided => High
--
vmbuilder XML is incomplete with libvirt 0.8.3 (No bootable devices)
https://bugs.launchpad.net/bugs/659532
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.
More information about the Ubuntu-server-bugs
mailing list