vmbuilder crashes with libvirtError in defineXML() when os type 'hvm' not available with kvm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
I tried to set up a kvm virtual machine while the host itself is a virtual machine (Ubuntu 11.04 running on Mac OS X using Parallels 6). It seems to me, that kvm cannot work in that setup but vmbuilder starts to set up the machine and fails in the end with this backtrace. I think the error should be caught.
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: python-vm-builder 0.12.4+
ProcVersionSign
Uname: Linux 2.6.38-5-generic x86_64
Architecture: amd64
Date: Wed Mar 2 11:09:47 2011
ExecutablePath: /usr/bin/vmbuilder
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/vmbuilder kvm hostname --hostname myvm --suite natty --addpkg vim-nox --arch amd64 --mem 256 --libvirt qemu:///system
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
LANGUAGE=en_US:en
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: vm-builder
Title: vmbuilder crashed with libvirtError in defineXML(): internal error no supported architecture for os type 'hvm'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
Thanks for submitting this bug. Agreed, it should be caught.