Saturday, October 23, 2010

vmbuilder - grrrr!

jmaclean@jmaclean-laptop:~/sys/virt/puppet0$ sh vm-puppet0
2010-10-23 15:56:41,463 INFO : Calling hook: preflight_check
2010-10-23 15:56:41,473 INFO : Calling hook: set_defaults
2010-10-23 15:56:41,475 INFO : Calling hook: bootstrap
2010-10-23 16:00:24,929 INFO : Calling hook: configure_os
2010-10-23 16:00:41,577 INFO : W: GPG error: http://archive.ubuntu.com lucid Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key
Extracting templates from packages: 100%
2010-10-23 16:01:41,349 INFO : update-alternatives: error: no alternatives for rsh.
2010-10-23 16:01:41,467 INFO : update-alternatives: error: no alternatives for rlogin.
2010-10-23 16:01:41,585 INFO : update-alternatives: error: no alternatives for rcp.
2010-10-23 16:01:46,547 INFO : Creating SSH2 RSA key; this may take some time ...
2010-10-23 16:01:47,270 INFO : Creating SSH2 DSA key; this may take some time ...
2010-10-23 16:01:47,979 INFO :
2010-10-23 16:01:47,980 INFO : Warning: Fake initctl called, doing nothing
2010-10-23 16:01:47,981 INFO :
2010-10-23 16:01:47,981 INFO : Warning: Fake initctl called, doing nothing
2010-10-23 16:01:49,636 INFO : adduser: Warning: The home directory `/var/lib/puppet' does not belong to the user you are currently creating.
2010-10-23 16:01:55,538 INFO :
2010-10-23 16:01:55,539 INFO : Current default time zone: 'Etc/UTC'
2010-10-23 16:01:55,542 INFO : Local time is now: Sat Oct 23 15:01:55 UTC 2010.
2010-10-23 16:01:55,542 INFO : Universal Time is now: Sat Oct 23 15:01:55 UTC 2010.
2010-10-23 16:01:55,542 INFO :
2010-10-23 16:02:49,902 INFO :
2010-10-23 16:02:49,902 INFO : Current default time zone: 'Etc/UTC'
2010-10-23 16:02:49,906 INFO : Local time is now: Sat Oct 23 15:02:49 UTC 2010.
2010-10-23 16:02:49,906 INFO : Universal Time is now: Sat Oct 23 15:02:49 UTC 2010.
2010-10-23 16:02:49,906 INFO : Run 'dpkg-reconfigure tzdata' if you wish to change it.
2010-10-23 16:02:49,906 INFO :
2010-10-23 16:03:21,288 INFO :
2010-10-23 16:03:21,288 INFO : Warning: Fake initctl called, doing nothing
2010-10-23 16:03:25,593 INFO : Calling hook: post_install
2010-10-23 16:03:25,595 INFO : Calling hook: preflight_check
Traceback (most recent call last):
File "/usr/bin/ubuntu-vm-builder", line 24, in
uvb.main()
File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 117, in main
hypervisor.install_os()
File "/usr/lib/python2.6/dist-packages/VMBuilder/hypervisor.py", line 60, in install_os
self.call_hooks('preflight_check')
File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 66, in call_hooks
call_hooks(self, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 158, in call_hooks
getattr(plugin, func, log_no_such_method)(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/libvirt/__init__.py", line 54, in preflight_check
if hostname in self.all_domains() and not self.vm.overwrite:
AttributeError: 'Libvirt' object has no attribute 'vm'
jmaclean@jmaclean-laptop:~/sys/virt/puppet0$

No comments:

Post a Comment