vmbuilder fails to start if there is a guest running in libvirt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VMBuilder |
Fix Released
|
Undecided
|
Unassigned | ||
vm-builder (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
If there is *any* domain running in the target libvirt daemon, vmbuilder fails to start:
mathiaz@
Connecting to uri: qemu:///system
Id Name State
-------
24 hardy-virtual-i386 running
mathiaz@
2008-10-16 22:45:00,597 CRITICAL Oh, dear, an exception occurred
2008-10-16 22:45:00,597 INFO Cleaning up
Traceback (most recent call last):
File "/usr/bin/
VMBuilder.run()
File "/usr/lib/
frontend.run()
File "/usr/lib/
vm.create()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
getattr(plugin, func)()
File "/usr/lib/
if self.vm.hostname in self.all_domains() and not self.vm.overwrite:
File "/usr/lib/
return self.conn.
AttributeError: virConnect instance has no attribute 'lookupById'
Related branches
Changed in vmbuilder: | |
status: | Fix Committed → Fix Released |
Definitely a problem in the libvirt plugin