Foreman TFTP default fall-through on PXE boot (CentOS)

I've got the usual configurations with all my services on the same host as
Foreman through a smart proxy, including TFTP, using CentOS 6.3 on Intel as
the Foreman host and a 6.4 distro for provisioning, yet seemingly no matter
what I do I get a boot fall-through that goes to the autogenerated default
file for a local boot:

Aug 28 14:40:07 tropica in.tftpd[4378]: RRQ from 10.238.27.185 filename
/pxelinux.0
Aug 28 14:40:07 tropica in.tftpd[4378]: tftp: client does not accept options
Aug 28 14:40:07 tropica in.tftpd[4379]: RRQ from 10.238.27.185 filename
/pxelinux.0
Aug 28 14:40:07 tropica in.tftpd[4380]: RRQ from 10.238.27.185 filename
/pxelinux.cfg/44454c4c-5300-1052-8056-c7c04f485831
Aug 28 14:40:07 tropica in.tftpd[4381]: RRQ from 10.238.27.185 filename
/pxelinux.cfg/01-90-b1-1c-57-a1-c5
Aug 28 14:40:07 tropica in.tftpd[4382]: RRQ from 10.238.27.185 filename
/pxelinux.cfg/0AEE1BB9
Aug 28 14:40:07 tropica in.tftpd[4383]: RRQ from 10.238.27.185 filename
/pxelinux.cfg/0AEE1BB
Aug 28 14:40:07 tropica in.tftpd[4384]: RRQ from 10.238.27.185 filename
/pxelinux.cfg/0AEE1B
Aug 28 14:40:07 tropica in.tftpd[4385]: RRQ from 10.238.27.185 filename
/pxelinux.cfg/0AEE1
Aug 28 14:40:07 tropica in.tftpd[4386]: RRQ from 10.238.27.185 filename
/pxelinux.cfg/0AEE
Aug 28 14:40:07 tropica in.tftpd[4387]: RRQ from 10.238.27.185 filename
/pxelinux.cfg/0AE
Aug 28 14:40:07 tropica in.tftpd[4388]: RRQ from 10.238.27.185 filename
/pxelinux.cfg/0A
Aug 28 14:40:07 tropica in.tftpd[4389]: RRQ from 10.238.27.185 filename
/pxelinux.cfg/0
Aug 28 14:40:07 tropica in.tftpd[4390]: RRQ from 10.238.27.185 filename
/pxelinux.cfg/default
Aug 28 14:40:07 tropica in.tftpd[4391]: RRQ from 10.238.27.185 filename
/menu
Aug 28 14:40:07 tropica in.tftpd[4392]: RRQ from 10.238.27.185 filename
/menu.cbt
Aug 28 14:40:07 tropica in.tftpd[4393]: RRQ from 10.238.27.185 filename
/menu.0
Aug 28 14:40:07 tropica in.tftpd[4394]: RRQ from 10.238.27.185 filename
/menu.com
Aug 28 14:40:07 tropica in.tftpd[4396]: RRQ from 10.238.27.185 filename
/menu.c32
Aug 28 14:40:07 tropica in.tftpd[4397]: RRQ from 10.238.27.185 filename
/pxelinux.cfg/default

I removed default, which doesn't seem to make a difference, leaving
only 01-90-b1-1c-57-a1-c5, which contains:
default linux
label linux
kernel boot/CentOS-6.4-x86_64-vmlinuz
append initrd=boot/CentOS-6.4-x86_64-initrd.img
ks=http://tropica/unattended/provision ksdevice=bootif network kssendmac

Everything in /tftpboot (where these files reside) is readable, so I'm at a
loss as to why the PXE boot only gives me a local boot option (on which
there is no OS installed… yet). Is there a known issue where a matching
file generated by provisioning doesn't get read into the unattended menu,
or also, that default is always served (without any options except a local
boot) under certain conditions?

Thanks.

> I've got the usual configurations with all my services on the same host as
> Foreman through a smart proxy, including TFTP, using CentOS 6.3 on Intel as
> the Foreman host and a 6.4 distro for provisioning, yet seemingly no matter
> what I do I get a boot fall-through that goes to the autogenerated default
> file for a local boot:
>
> Aug 28 14:40:07 tropica in.tftpd[4378]: RRQ from 10.238.27.185 filename
> /pxelinux.0
> Aug 28 14:40:07 tropica in.tftpd[4378]: tftp: client does not accept
> options
> Aug 28 14:40:07 tropica in.tftpd[4379]: RRQ from 10.238.27.185 filename
> /pxelinux.0
> Aug 28 14:40:07 tropica in.tftpd[4380]: RRQ from 10.238.27.185 filename
> /pxelinux.cfg/44454c4c-5300-1052-8056-c7c04f485831
> Aug 28 14:40:07 tropica in.tftpd[4381]: RRQ from 10.238.27.185 filename
> /pxelinux.cfg/01-90-b1-1c-57-a1-c5
> Aug 28 14:40:07 tropica in.tftpd[4382]: RRQ from 10.238.27.185 filename
> /pxelinux.cfg/0AEE1BB9
> Aug 28 14:40:07 tropica in.tftpd[4383]: RRQ from 10.238.27.185 filename
> /pxelinux.cfg/0AEE1BB
> Aug 28 14:40:07 tropica in.tftpd[4384]: RRQ from 10.238.27.185 filename
> /pxelinux.cfg/0AEE1B
> Aug 28 14:40:07 tropica in.tftpd[4385]: RRQ from 10.238.27.185 filename
> /pxelinux.cfg/0AEE1
> Aug 28 14:40:07 tropica in.tftpd[4386]: RRQ from 10.238.27.185 filename
> /pxelinux.cfg/0AEE
> Aug 28 14:40:07 tropica in.tftpd[4387]: RRQ from 10.238.27.185 filename
> /pxelinux.cfg/0AE
> Aug 28 14:40:07 tropica in.tftpd[4388]: RRQ from 10.238.27.185 filename
> /pxelinux.cfg/0A
> Aug 28 14:40:07 tropica in.tftpd[4389]: RRQ from 10.238.27.185 filename
> /pxelinux.cfg/0
> Aug 28 14:40:07 tropica in.tftpd[4390]: RRQ from 10.238.27.185 filename
> /pxelinux.cfg/default
> Aug 28 14:40:07 tropica in.tftpd[4391]: RRQ from 10.238.27.185 filename
> /menu
> Aug 28 14:40:07 tropica in.tftpd[4392]: RRQ from 10.238.27.185 filename
> /menu.cbt
> Aug 28 14:40:07 tropica in.tftpd[4393]: RRQ from 10.238.27.185 filename
> /menu.0
> Aug 28 14:40:07 tropica in.tftpd[4394]: RRQ from 10.238.27.185 filename /
> menu.com
> Aug 28 14:40:07 tropica in.tftpd[4396]: RRQ from 10.238.27.185 filename
> /menu.c32
> Aug 28 14:40:07 tropica in.tftpd[4397]: RRQ from 10.238.27.185 filename
> /pxelinux.cfg/default
>
> I removed default, which doesn't seem to make a difference, leaving
> only 01-90-b1-1c-57-a1-c5, which contains:
>

can you show your directory layout? it sounds like the file is in the wrong
directory or something like that…

Ohad

··· On Wed, Aug 28, 2013 at 9:50 PM, Daniel Finkelstein < daniel.finkelstein@sungard.com> wrote:

default linux
label linux
kernel boot/CentOS-6.4-x86_64-vmlinuz
append initrd=boot/CentOS-6.4-x86_64-initrd.img ks=
http://tropica/unattended/provision ksdevice=bootif network kssendmac

Everything in /tftpboot (where these files reside) is readable, so I’m at
a loss as to why the PXE boot only gives me a local boot option (on which
there is no OS installed… yet). Is there a known issue where a matching
file generated by provisioning doesn’t get read into the unattended menu,
or also, that default is always served (without any options except a local
boot) under certain conditions?

Thanks.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.

Egg on my face: /etc/xinet.d/tftp wasn't pointing to /tftpboot; it still
had the default /var/lib location. I'd changed it in puppet and foreman,
but not the init file. They've all got to agree…

Thanks, O.
–Dan

··· On Wednesday, August 28, 2013 2:54:30 PM UTC-4, ohad wrote: > > > > > On Wed, Aug 28, 2013 at 9:50 PM, Daniel Finkelstein < > daniel.fi...@sungard.com > wrote: > >> I've got the usual configurations with all my services on the same host >> as Foreman through a smart proxy, including TFTP, using CentOS 6.3 on Intel >> as the Foreman host and a 6.4 distro for provisioning, yet seemingly no >> matter what I do I get a boot fall-through that goes to the autogenerated >> default file for a local boot: >> >> Aug 28 14:40:07 tropica in.tftpd[4378]: RRQ from 10.238.27.185 filename >> /pxelinux.0 >> Aug 28 14:40:07 tropica in.tftpd[4378]: tftp: client does not accept >> options >> Aug 28 14:40:07 tropica in.tftpd[4379]: RRQ from 10.238.27.185 filename >> /pxelinux.0 >> Aug 28 14:40:07 tropica in.tftpd[4380]: RRQ from 10.238.27.185 filename >> /pxelinux.cfg/44454c4c-5300-1052-8056-c7c04f485831 >> Aug 28 14:40:07 tropica in.tftpd[4381]: RRQ from 10.238.27.185 filename >> /pxelinux.cfg/01-90-b1-1c-57-a1-c5 >> Aug 28 14:40:07 tropica in.tftpd[4382]: RRQ from 10.238.27.185 filename >> /pxelinux.cfg/0AEE1BB9 >> Aug 28 14:40:07 tropica in.tftpd[4383]: RRQ from 10.238.27.185 filename >> /pxelinux.cfg/0AEE1BB >> Aug 28 14:40:07 tropica in.tftpd[4384]: RRQ from 10.238.27.185 filename >> /pxelinux.cfg/0AEE1B >> Aug 28 14:40:07 tropica in.tftpd[4385]: RRQ from 10.238.27.185 filename >> /pxelinux.cfg/0AEE1 >> Aug 28 14:40:07 tropica in.tftpd[4386]: RRQ from 10.238.27.185 filename >> /pxelinux.cfg/0AEE >> Aug 28 14:40:07 tropica in.tftpd[4387]: RRQ from 10.238.27.185 filename >> /pxelinux.cfg/0AE >> Aug 28 14:40:07 tropica in.tftpd[4388]: RRQ from 10.238.27.185 filename >> /pxelinux.cfg/0A >> Aug 28 14:40:07 tropica in.tftpd[4389]: RRQ from 10.238.27.185 filename >> /pxelinux.cfg/0 >> Aug 28 14:40:07 tropica in.tftpd[4390]: RRQ from 10.238.27.185 filename >> /pxelinux.cfg/default >> Aug 28 14:40:07 tropica in.tftpd[4391]: RRQ from 10.238.27.185 filename >> /menu >> Aug 28 14:40:07 tropica in.tftpd[4392]: RRQ from 10.238.27.185 filename >> /menu.cbt >> Aug 28 14:40:07 tropica in.tftpd[4393]: RRQ from 10.238.27.185 filename >> /menu.0 >> Aug 28 14:40:07 tropica in.tftpd[4394]: RRQ from 10.238.27.185 filename / >> menu.com >> Aug 28 14:40:07 tropica in.tftpd[4396]: RRQ from 10.238.27.185 filename >> /menu.c32 >> Aug 28 14:40:07 tropica in.tftpd[4397]: RRQ from 10.238.27.185 filename >> /pxelinux.cfg/default >> >> I removed default, which doesn't seem to make a difference, leaving >> only 01-90-b1-1c-57-a1-c5, which contains: >> > > can you show your directory layout? it sounds like the file is in the > wrong directory or something like that... > > Ohad > > >> default linux >> label linux >> kernel boot/CentOS-6.4-x86_64-vmlinuz >> append initrd=boot/CentOS-6.4-x86_64-initrd.img ks= >> http://tropica/unattended/provision ksdevice=bootif network kssendmac >> >> Everything in /tftpboot (where these files reside) is readable, so I'm at >> a loss as to why the PXE boot only gives me a local boot option (on which >> there is no OS installed... yet). Is there a known issue where a matching >> file generated by provisioning doesn't get read into the unattended menu, >> or also, that default is always served (without any options except a local >> boot) under certain conditions? >> >> Thanks. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at http://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> > >