Hello,

Thanks Michael for setting me straight on my previous inquiry regarding '--rebuild-self' , I have sorted that out and now am having a bit of a spat getting fully unattended koan --virt installs working.

running the koan command as follows:
[@bs2-2 ~]# koan --virt --server=[CobblerServerName] --profile=fc9 --virt-name=Cobbler-FC9
- reading URL: http://[CobblerServerName]/cblr/svc/op/ks/profile/fc9
install_tree: http://[RepoServerName]/f9
libvirtd (pid 2079) is running...
downloading initrd initrd.img to /var/lib/xen/initrd.img
url=http://[CobblerServerName]/cobbler/images/fc9/initrd.img
- reading URL: http://
[CobblerServerName]/cobbler/images/fc9/initrd.img
downloading kernel vmlinuz to /var/lib/xen/vmlinuz
url=http://
[CobblerServerName]/cobbler/images/fc9/vmlinuz
- reading URL: http://
[CobblerServerName]/cobbler/images/fc9/vmlinuz
libvir: Xen Daemon error : GET operation failed:
libvir: Xen Daemon error : GET operation failed:
libvir: Xen Daemon error : POST operation failed: (xend.err "Error creating domain: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\\n')")
<class 'libvirt.libvirtError'>
virDomainCreateLinux() failed POST operation failed: (xend.err "Error creating domain: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\\n')")
  File "/usr/lib/python2.5/site-packages/koan/app.py", line 165, in main
    k.run()
   File "/usr/lib/python2.5/site-packages/koan/app.py", line 373, in run
    self.virt()
   File "/usr/lib/python2.5/site-packages/koan/app.py", line 644, in virt
    return self.net_install(after_download)
   File "/usr/lib/python2.5/site-packages/koan/app.py", line 563, in net_install
    after_download(self, profile_data)
   File "/usr/lib/python2.5/site-packages/koan/app.py", line 642, in after_download
    self.virt_net_install(profile_data)
   File "/usr/lib/python2.5/site-packages/koan/app.py", line 920, in virt_net_install
    bridge        =  self.virt_bridge
   File "/usr/lib/python2.5/site-packages/koan/xencreate.py", line 165, in start_install
    guest.start_install()
   File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 813, in start_install
    return self._do_install(consolecb, meter)
   File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 834, in _do_install
    self.domain = self.conn.createLinux(install_xml, 0)
   File "/usr/lib/python2.5/site-packages/libvirt.py", line 573, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)




I also dropped back and did a virt-install (xenpv) using the same fc9.ks and everything worked fine.
[~]# virt-install --paravirt -f /var/lib/xen/images/Cobbler-FC9 -s 5 -r 1024 -n Cobbler-FC9 --vnc -l http://[RepoServerName]/f9 -x ks=http://[CobblerServerName]/cblr/svc/op/ks/profile/fc9

Here is the distro and profile setup that I have been working with :

[~]# cobbler distro report --name=fc9
distro               : fc9
breed                : redhat
os version           :
architecture         : i386
initrd               : /var/tftpboot/fc9/initrd.img
kernel               : /var/tftpboot/fc9/vmlinuz
kernel options       : {}
post kernel options  : {}
ks metadata          : {}
owners               : ['admin']

[~]# cobbler profile report --name=fc9
profile              : fc9
distro               : fc9
dhcp tag             : default
kernel options       : {}
post kernel options  : {}
kickstart            : /etc/cobbler/fc9.ks
ks metadata          : {}
owners               : ['admin']
repos                : []
server               : <<inherit>>
virt bridge          : xenbr0
virt cpus            : 1
virt file size       : 5
virt path            :
virt ram             : 1024
virt type            : xenfv