AttributeError: 'Libvirt' object has no attribute 'vm'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Running vmbuilder with this command:
vmbuilder kvm ubuntu \
--suite lucid \
--flavour virtual \
--arch amd64 \
-o \
--libvirt qemu:///system \
--part vmbuilder.partition \
--user user \
--name user \
--pass default \
--ip 192.168.176.100 \
--mirror http://
--dest /root/vm1
and this partition file:
root 8000
swap 2000
/home 1000
/var 8000
/var/log 2000
Results in this output and error:
2010-04-13 09:57:30,587 INFO : Calling hook: preflight_check
2010-04-13 09:57:30,625 INFO : Calling hook: set_defaults
2010-04-13 09:57:30,626 INFO : Calling hook: bootstrap
2010-04-13 09:59:42,333 INFO : Calling hook: configure_os
2010-04-13 10:01:19,098 INFO :
2010-04-13 10:01:19,098 INFO : Current default time zone: 'Etc/UTC'
2010-04-13 10:01:19,101 INFO : Local time is now: Tue Apr 13 09:01:19 UTC 2010.
2010-04-13 10:01:19,101 INFO : Universal Time is now: Tue Apr 13 09:01:19 UTC 2010.
2010-04-13 10:01:19,101 INFO :
2010-04-13 10:03:01,863 INFO : Calling hook: post_install
2010-04-13 10:03:01,892 INFO : Calling hook: preflight_check
Traceback (most recent call last):
File "/usr/bin/
cli.main()
File "/usr/lib/
hypervisor.
File "/usr/lib/
self.
File "/usr/lib/
call_
File "/usr/lib/
getattr(plugin, func, log_no_
File "/usr/lib/
if hostname in self.all_domains() and not self.vm.overwrite:
AttributeError: 'Libvirt' object has no attribute 'vm'
I'm running 2.6.32-20-server with libvirt 0.7.5-5ubuntu21, python-vm-builder 0.12.3-0ubuntu1 (all latest lucid packages).
Related branches
Changed in vm-builder (Ubuntu): | |
importance: | Undecided → Medium |
Changed in vm-builder (Ubuntu): | |
status: | New → Confirmed |
I noticed that libvirt got updated to 0.7.5-5ubuntu22 today, and it's possible that this bug has been fixed by it, however, I'm not sure as I've got another bug instead that may just be obscuring it...