ubuntu-vm-builder crashes over non-existing certificate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
> sudo TMPDIR=tmp ubuntu-vm-builder kvm lucid -d ubuntu --libvirt=
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-
2010-08-02 20:20:48,933 INFO : update-
2010-08-02 20:20:48,990 INFO : update-
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/
Traceback (most recent call last):
File "/usr/bin/
uvb.main()
File "/usr/lib/
hypervisor.
File "/usr/lib/
self.
File "/usr/lib/
call_
File "/usr/lib/
getattr(plugin, func, log_no_
File "/usr/lib/
self.conn = libvirt.
File "/usr/lib/
if ret is None:raise libvirtError(
libvirt.
at least it should not crash but issue an error message.
Changed in vm-builder (Ubuntu): | |
importance: | Undecided → Low |
VMBuilder should definitely handle this more gracefully, but your
particular problem is that the libvirt uri you are passing is wrong.
It's supposed to be qemu:///system (three slashes, not two).
-- www.ubuntu. com/
Soren Hansen
Ubuntu Developer
http://