Leonid Flaks wrote:
> I am testing koan installation of the virtual guest.
> Host system is not a cobbler server, but on the same network.
> The name of the guest is 'devel'. Cobbler is running OK - I was able to 
> PXE install a couple of systems.
>
> On host I ran:
>
> koan --server cobblerserver --virt --system=devel
>
> and after a couple minutes got this:
>
> - looking for Cobbler at http://cobblerserver/cobbler_api
> - reading URL: http://xx.xx.xx.xx/cblr/svc/op/ks/system/devel
> libvirtd (pid  2547) is running...
> - using qemu hypervisor, type=kvm
> Cannot find install source in kickstart file, aborting.
>
> If I ran 'koan --server cobblerserver --display --system=devel',
> the output is following:
>
> - looking for Cobbler at http://cobblerserver/cobbler_api
> - reading URL: http://xx.xx.xx.xx/cblr/svc/op/ks/system/devel
>                  name  : devel
>                distro  : F-10-GOLD-x86_64
>               profile  : F-10-64-virt-guest
>             kickstart  : http://xx.xx.xx.xx/cblr/svc/op/ks/system/devel
>               ks_meta  : 
> tree=http://mirror.mycompany.com/fedora/releases/10/Fedora/x86_64/os/
>                kernel  : /x8c/leonpc/srv/pxe-images/10/64/vmlinuz
>                initrd  : /x8c/leonpc/srv/pxe-images/10/64/initrd.img
>        kernel_options  : ksdevice=eth0 noipv6 lang= text 
> ks=http://xx.xx.xx.xx/cblr/svc/op/ks/system/devel kssendmac
>                 repos  : F10-x86_64-Everything-local 
> F10-x86_64-updates-local
>              virt_ram  : 512
>             virt_type  : qemu
>             virt_path  : /dev/vg-virt/LV2
>
> xx.xx.xx.xx is the IP of cobbler server.
>
> I use the network installation with the same http url as for non virtual 
> systems, that works fine.
>
> Am I missing something here?
>
>   
Due to the way cobbler uses libvirt, we parse the kickstart from koan 
before using it to find out where to find the install location, and then 
we pass that along so that we can start the installation. This is where 
it failed. If the kickstart template contains the "url --url=$tree" line 
this /should/ work. (koan is looking for the "url" line to parse out and 
apparently couldn't find it).

Can I see the results of "cobbler system getks --name=devel" ?

Also please be sure you're trying a recent koan, i.e. 1.6.X something.




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

Reply via email to