Michael DeHaan wrote:

> 
> I would suggest you start by debugging the Python code for koan, if you 
> can, starting from where that statement is printed -- since I don't 
> anyone else can repro this, and it may be hard to replicate here.
> 
> --Michael
> 

Michael,
Thank you for encouragement! I did debug Python code (for the first time 
in my life!) and found the problem. As I expected, had nothing to do 
with code, but my fault 100%. I just put some 'print' statements to see 
what was going on. It is my stupid proxy setting after all. I have 
environment variable http_proxy set pointing to proxy server and koan 
was never actually reaching cobbler server and 'fd = urllib2.urlopen' 
statement just timed out quietly after ~90 seconds. Once I unset the 
proxy (export -n http_proxy in bash), I was able to move further.

A few other things came up of course. I am installing guest on LVM 
partition. koan complained that I need disk size specified for this type 
of installation - never needed it virt-instal - just had '--disk 
path=/dev/vg-virt/LV1' option there. In cobbler WUI I have Virt Path 
with the same value (/dev/vg-virt/LV2) which should be enough. Just to 
get going I put 9G size, which is the actual size of this partition.
Now another thing:

koan --server=cobblerserver --virt --system=devel
- looking for Cobbler at http://cobblerserver/cobbler_api
- reading URL: http://XX.XX.XX.XX/cblr/svc/op/ks/system/devel
install_tree: http://mycompanymirror/fedora/releases/10/Fedora/x86_64/os/
libvirtd (pid  2547) is running...
- using qemu hypervisor, type=kvm
- adding disk: /dev/vg-virt/LV2 of size 9
libvir: QEMU error : Domain not found
libvir: QEMU error : Domain not found
use virt-manager and connect to qemu to manage guest: devel

Is there any other parameter that I should have passed to virt-manager, 
but did not?

Thanks a lot!

Leon
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to