Matt Ford wrote: > > > 2009/5/6 Michael DeHaan <[email protected] <mailto:[email protected]>> > > Matt Ford wrote: > > Hi All, > > > > I have a cobbler installation: two distros (centos 4 and centos > 5) and > > couple of profiles. > > > > I'm not using dns or dhcp management. > > > > Cobbler check and cobbler sync both run okay. > > > > I'm expecting that the profiles created should automagically be > added > > to the PXE boot menu I'm using. But they are not? Am I wrong to > > expect this behaviour? How else might I list my profiles in the PXE > > boot menus? I can only see any fresh distro I import.... > > > > If it should be happening what should I check for? > > > > I did try adding a system but this didn't help either..... > > > > Thanks for any pointers, > > > > Matt Ford. > > First verify DHCP is actually pointing at your cobbler server and not > some other PXE server. > > > Actually I NFS export the /tftpboot/ from my cobbler machine to my > known good working bespoke PXE and DHCP server machine. I have no > problem seeing on my nodes the cobbler menu items (there is only one > cobbler server so I can't get confused - I hope to migrate from > bespoke solution to cobbler). > > From /tftpboot/pxelinux.cfg/default I have: > > DEFAULT menu > PROMPT 0 > MENU TITLE Cobbler | http://cobbler.et.redhat.com > TIMEOUT 200 > TOTALTIMEOUT 6000 > ONTIMEOUT local > > LABEL local > MENU LABEL (local) > MENU DEFAULT > LOCALBOOT 0 > > LABEL CentOS-5.2-x86_64 > kernel /images/CentOS-5.2-x86_64/vmlinuz > MENU LABEL CentOS-5.2-x86_64 > append initrd=/images/CentOS-5.2-x86_64/initrd.img > ksdevice=eth0 lang= kssendmac text > ks=http://10.141.245.8/cblr/svc/op/ks/profile/CentOS-5.2-x86_64 > > LABEL CentOS-5.3-x86_64 > kernel /images/CentOS-5.3-x86_64/vmlinuz > MENU LABEL CentOS-5.3-x86_64 > append initrd=/images/CentOS-5.3-x86_64/initrd.img > ksdevice=eth0 lang= kssendmac text > ks=http://10.141.245.8/cblr/svc/op/ks/profile/CentOS-5.3-x86_64 > > LABEL rescue-CentOS-5.3-x86_64 > kernel /images/CentOS-5.3-x86_64/vmlinuz > MENU LABEL rescue-CentOS-5.3-x86_64 > append initrd=/images/CentOS-5.3-x86_64/initrd.img > ksdevice=eth0 lang= kssendmac rescue text > ks=http://10.141.245.8/cblr/svc/op/ks/profile/rescue-CentOS-5.3-x86_64 >
This all looks good. > > These are inserted fine from a cobbler import. I have mirrored some > repos and created my own profile called ngs-xen-server. Note, I see > no xen enabled repos at all in the menu above. By design, you can't PXE boot those. They are paravirt kernels. And you mean "profiles" not "repos", here. A bit of difference :) > > Here is the output from: > > cobbler profile report > > profile : CentOS-5.2-x86_64 > > profile : CentOS-5.2-xen-x86_64 > > profile : CentOS-5.3-x86_64 > > profile : CentOS-5.3-xen-x86_64 > > profile : ngs-xen-server > > profile : rescue-CentOS-5.3-x86_64 > > Note: none of the kickstart files actually exist....would this cause a > silent fail of PXE menu additions? Also, why would it work then for > the initial import? Unless you had a different mechanism....but I'm > hugely speculating and likely going way off base. It would not. However if you have a system named "default" that has special semantics and would keep any of the menu from being generated. Profiles who have arches other than i386 or x86_64 also do not show up in the menu. You may want to check to see what arch is assigned to your various distro objects. If you upgraded a rather old cobbler install, it may be that the arch fields on your distros are wrong? > > Note Note: the creation date on the initial repos (5.2), created last > year, is the epoch. Some upgrade funniness? No, keeping track of creation dates is a newer feature, so you likely created them with an older version of cobbler, so we don't bother guessing a date for them. This field is not used anywhere that you'd care about (API consumers, possibly). > > I'm using CentOS 5.3 with the Epel repository - cobbler 1.6.2 1.6.3 is latest, though nothing has really changed around the PXE menu in eons. > > Thanks for your help, > > Matt. > > ------------------------------------------------------------------------ > > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler > _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
