[Bug 612685] [NEW] ubuntu-vm-builder crashes over non-existing certificate
Allo
alexander_schier at yahoo.de
Mon Aug 2 19:31:47 BST 2010
Public bug reported:
> sudo TMPDIR=tmp ubuntu-vm-builder kvm lucid -d ubuntu --libvirt=qemu://system --lang=de_DE.UTF-8 --addpkg=openssh-server --ssh-key /home/allo/.ssh/id_rsa.pub --network=nat_all
2010-08-02 20:07:32,458 INFO : Calling hook: preflight_check
2010-08-02 20:07:32,460 INFO : Calling hook: set_defaults
2010-08-02 20:07:32,460 INFO : Calling hook: bootstrap
2010-08-02 20:20:15,712 INFO : Calling hook: configure_os
2010-08-02 20:20:48,876 INFO : update-alternatives: error: no alternatives for rsh.
2010-08-02 20:20:48,933 INFO : update-alternatives: error: no alternatives for rlogin.
2010-08-02 20:20:48,990 INFO : update-alternatives: error: no alternatives for rcp.
2010-08-02 20:20:50,926 INFO : Creating SSH2 RSA key; this may take some time ...
2010-08-02 20:20:51,160 INFO : Creating SSH2 DSA key; this may take some time ...
2010-08-02 20:20:51,760 INFO :
2010-08-02 20:20:51,760 INFO : Warning: Fake initctl called, doing nothing
2010-08-02 20:20:51,760 INFO :
2010-08-02 20:20:51,760 INFO : Warning: Fake initctl called, doing nothing
2010-08-02 20:20:56,117 INFO :
2010-08-02 20:20:56,118 INFO : Current default time zone: 'Etc/UTC'
2010-08-02 20:20:56,119 INFO : Local time is now: Mon Aug 2 18:20:56 UTC 2010.
2010-08-02 20:20:56,119 INFO : Universal Time is now: Mon Aug 2 18:20:56 UTC 2010.
2010-08-02 20:20:56,119 INFO :
2010-08-02 20:21:37,704 INFO :
2010-08-02 20:21:37,704 INFO : Current default time zone: 'Etc/UTC'
2010-08-02 20:21:37,706 INFO : Local time is now: Mon Aug 2 18:21:37 UTC 2010.
2010-08-02 20:21:37,706 INFO : Universal Time is now: Mon Aug 2 18:21:37 UTC 2010.
2010-08-02 20:21:37,707 INFO : Run 'dpkg-reconfigure tzdata' if you wish to change it.
2010-08-02 20:21:37,707 INFO :
2010-08-02 20:22:05,331 INFO : Calling hook: post_install
2010-08-02 20:22:05,332 INFO : Calling hook: preflight_check
libvir: Remote error : Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
Traceback (most recent call last):
File "/usr/bin/ubuntu-vm-builder", line 24, in <module>
uvb.main()
File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 116, in main
hypervisor.install_os()
File "/usr/lib/python2.6/dist-packages/VMBuilder/hypervisor.py", line 59, 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 46, in preflight_check
self.conn = libvirt.open(libvirt_uri)
File "/usr/lib/python2.6/dist-packages/libvirt.py", line 169, in open
if ret is None:raise libvirtError('virConnectOpen() failed')
libvirt.libvirtError: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
at least it should not crash but issue an error message.
** Affects: vm-builder (Ubuntu)
Importance: Undecided
Status: New
** Tags: ca cacert certificates crash kvm vm vmbuilder
--
ubuntu-vm-builder crashes over non-existing certificate
https://bugs.launchpad.net/bugs/612685
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.
More information about the Ubuntu-server-bugs
mailing list