On 18/04/11 04:46, Tim Dunphy wrote: > hello list! > > I recently had to rebuild a cobbler server on the network. however > for > some reason once everything seemed to be working I notice that when I > try to list profiles using koan on the client it does not match the > profiles I see when I run cobbler list. Also when I try toi build a host > it complains that it cannot find the cobbler_api.
I don't believe this is what the complaint means. If koan cannot find http://cobbler/cobbler_api you would not be able to list profiles or systems using it. > ## cobbler list right, this works. This also uses the XMLRPC web API for cobbler > 2 > [root@cobbler ~]# cobbler list > distros: > rhel5-32-i386 > rhel5-32-xen-i386 > rhel5-64-x86_64 > rhel5-64-xen-x86_64 > > profiles: > rhel5-32-i386 > rhel5-32-xen-i386 > rhel5-64-x86_64 > rhel5-64-xen-x86_64 > > systems: > snjh > > repos: > Centos5-CENTOSPLUS > Centos5-EPEL > Centos5-EXTRAS > Centos5-REMI > Centos5-UPDATES > > images: [snip] > > ## koan on client > > [root@LCENT02:~] #koan --server=cobbler --list=profiles > - looking for Cobbler at http://cobbler/cobbler_api > rhel5-64-xen-x86_64 > rhel5-32-xen-i386 > rhel5-32-i386 > rhel5-64-x86_64 > > > > [root@LCENT02:~] #koan --virt --server=cobbler --profile=base64 > --virt-name=vm11 --virt-path=/mnt/store/xen --nogfx > - looking for Cobbler at http://cobbler/cobbler_api > No entry/entries found You used --profile=base64 which does not appear to exist on your cobbler server. Does it work with a different profile? > This is a listing of the cobbler web root: > > [root@VIRTCENT08:~] #ls -l /var/www/html/cobbler/ > total 18 > drwxr-xr-x 2 apache apache 512 Apr 16 22:47 aux > drwxr-xr-x 6 apache apache 512 Apr 17 15:43 images > drwxr-xr-x 11 apache apache 512 Dec 24 21:58 ks_mirror > drwxr-xr-x 2 apache apache 512 Dec 24 21:58 links > drwxr-xr-x 2 apache apache 512 Dec 24 21:58 localmirror > drwxr-xr-x 2 apache apache 512 Dec 24 21:58 rendered > drwxr-xr-x 13 apache apache 512 Apr 17 13:09 repo_mirror > drwxr-xr-x 2 apache apache 512 Apr 16 22:47 svc > drwxr-xr-x 2 apache apache 512 Apr 16 22:47 web > > > And it seems that cobbler_api is actually not there. I'd appreciate any help > you might have to share. It shouldn't be there. The http://cobbler/cobbler_api URL refers to a web application, not a local directory. Your apache configuration will point to either a mod_python or mod_wsgi (depending on cobbler version) script/application when requests are received for that URL Stuart -- Stuart Sears RHCA etc. "It's today!" said Piglet. "My favourite day," said Pooh. _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
