fail to create vm since upgrade to raring
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Since I upgraded to raring, creating a vm is failing with:
$ sudo virt-install --noautoconsole --serial file,path=
ERROR An error occurred, but the cause is unknown
~/.virtinst/
[Tue, 19 Mar 2013 16:48:26 virt-install 15392] DEBUG (cli:226) Launched with command line:
/usr/bin/
[Tue, 19 Mar 2013 16:48:26 virt-install 15392] DEBUG (cli:331) Requesting libvirt URI default
[Tue, 19 Mar 2013 16:48:26 virt-install 15392] DEBUG (cli:333) Received libvirt URI vbox:///system
[Tue, 19 Mar 2013 16:48:26 virt-install 15392] DEBUG (virt-install:261) Requesting virt method 'hvm', hv type 'default'.
[Tue, 19 Mar 2013 16:48:26 virt-install 15392] DEBUG (virt-install:471) Received virt method 'hvm'
[Tue, 19 Mar 2013 16:48:26 virt-install 15392] DEBUG (virt-install:472) Hypervisor name is 'vbox'
[Tue, 19 Mar 2013 16:48:26 virt-install 15392] ERROR (cli:444) An error occurred, but the cause is unknown
[Tue, 19 Mar 2013 16:48:26 virt-install 15392] DEBUG (cli:447)
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/bin/
guest = build_guest_
File "/usr/bin/
options.
File "/usr/bin/
get_
File "/usr/bin/
collidelist
File "/usr/lib/
format=fmt)
File "/usr/lib/
self.
File "/usr/lib/
path)
File "/usr/lib/
vol = lookup_
File "/usr/lib/
vol = conn.storageVol
File "/usr/lib/
if ret is None:raise libvirtError(
libvirtError: An error occurred, but the cause is unknown
By instrumenting /usr/lib/
Also, the "DEBUG (virt-install:472) Hypervisor name is 'vbox'" part is weird, I do have vbox installed but I migrated to kvm... a year and a day ago according to my notes ;)
Uninstalling vbox solved the problem...
Pretty weird, I don't run any vbox vm anymore...
I couldn't simply uninstall vbox 4.1 (yeah, I was out of date since 4.2 is the new stable for months), there were two processes from vbox still running (probably started at boot). I had to kill them first and then 'sudo service libvirt-bin restart' to successfully create the vm.