We have been always using a RHEL variant (e.g. CentOS or SL) as the host for 
KVM guests.  I got a spare machine running Ubuntu 12.04LTS so a while ago I 
decided to use it as a host for a few "disposable" test guests today. Both 
cobbler and koan are at 2.2.2.

The following is what I got:

root@teapot:# koan --server=vc0 --virt --system=vc8 --virt-path=/dev/vg/vc8 -w
- looking for Cobbler at http://vc0:80/cobbler_api
- reading URL: http://192.168.123.3/cblr/svc/op/ks/system/vc8
install_tree: http://192.168.123.3/cblr/links/centos6-x86_64
/bin/sh: 1: rpm: not found .........................................(1)[...]
libvir: QEMU error : Domain not found: no domain with matching uuid 
'd4e139b9-d2f9-6afc-aff8-7b6db7ace13b' .............................(2)
Sat, 10 Nov 2012 09:27:26 DEBUG    Could not open "/etc/sysconfig/keyboard" 
[Errno 2] No such file or directory: '/etc/sysconfig/keyboard' 
..........................................(3)
Sat, 10 Nov 2012 09:27:26 DEBUG    Could not open "/etc/X11/xorg.conf": [Errno 
2] No such file or directory: '/etc/X11/xorg.conf' ..........(4)
Sat, 10 Nov 2012 09:27:26 DEBUG    Could not open "/etc/sysconfig/keyboard" 
[Errno 2] No such file or directory: 
'/etc/sysconfig/keyboard'...........................................(5)
Sat, 10 Nov 2012 09:27:26 DEBUG    Could not open "/etc/X11/xorg.conf": [Errno 
2] No such file or directory: '/etc/X11/xorg.conf'...........(6)
[...] 
libvir: QEMU error : Domain not found: no domain with matching name 'vc8' 
..............................................................(7)
Sat, 10 Nov 2012 09:27:29 DEBUG    Started guest, connecting to console if 
requested
Sat, 10 Nov 2012 09:27:29 DEBUG    XML fetched from libvirt object:
[...]

OK. So, the guest vc8 was built and started without a hitch. But IMHO the 
numbered statements above are confusing.
(1) Yes. Even Ubuntu repo provides the rpm utility, but why?
(2) If it's a refresh build, then obvious this entry wouldn't exist. So, the 
statement should be rephrased.
(3) For Debian/Ubuntu, the path is /etc/default/keyboard
(4) If the host is a server with nearly minimal install, why this file should 
exist? It shouldn't.
(5) & (6), please see above.

(7). Please see my comments for (2) above.

Comments from others in the list?

Regards,

-- Zack

_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to