For whatever reason, tftp was using /var/lib/tftpboot. I restarted xinetd and 
now tftp is using /tftpboot, which is where cobbler is updating it's tftpboot 
files.

So, everything is working now. But why was it ever using /var/lib/tftpboot in 
the first place?

From: <Janowiak>, Edward Janowiak 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, April 30, 2013 2:02 PM
To: cobbler mailing list 
<[email protected]<mailto:[email protected]>>
Subject: Re: [cobbler] Only default distro kickstarting

I removed the CentOS distro, profile, and all systems using CentOS, since that 
was the distro that kept getting built. I then imported RHEL5u5 and added a 
system called rheltest55. When I pxe boot rheltest5u5, it STILL claims to be 
booting CentOS. I looked a little deeper and it seems that Cobbler is not 
updating the tftpboot directory correctly.

[root@system]# cobbler list
distros:
   ESXi-5.1-x86_64
   RHEL5u5-x86_64
   RHEL5u5-xen-xen-x86_64

profiles:
   ESXi-5.1-x86_64
   RHEL5u5-x86_64
   RHEL5u5-xen-xen-x86_64

systems:
   rheltest55

repos:
   CentOS-6-x86_64-EPEL
   CentOS-6.3-x86_64-UPDATES

images:

mgmtclasses:

packages:

files:

[root@system]# ls /var/lib/tftpboot/images/
CentOS-6.3-x86_64

[root@system]# ls /var/lib/tftpboot/pxelinux.cfg/
01-00-0c-29-71-73-ce  default

[root@system]# cat /var/lib/tftpboot/pxelinux.cfg/01-00-0c-29-71-73-ce
default linux
prompt 0
timeout 1
label linux
        kernel /images/CentOS-6.3-x86_64/vmlinuz
        ipappend 2
        append initrd=/images/CentOS-6.3-x86_64/initrd.img ksdevice=bootif 
lang=  kssendmac text  ks=http://172.30.210.177/cblr/svc/op/ks/system/cobbtest


Cobbtest is the old name for the same system. I deleted that system and created 
rheltest55 using the same MAC address.

From: James Cammarata <[email protected]<mailto:[email protected]>>
Reply-To: cobbler mailing list 
<[email protected]<mailto:[email protected]>>
Date: Friday, April 26, 2013 1:09 PM
To: cobbler mailing list 
<[email protected]<mailto:[email protected]>>
Subject: Re: [cobbler] Only default distro kickstarting

On Fri, Apr 26, 2013 at 2:04 PM, Janowiak, Edward 
<[email protected]<mailto:[email protected]>> wrote:
I mounted the iso to /mnt and used "cobbler import --path=/mnt --name=RHEL-5.5 
--arch=x86_64".

Umount /mnt, delete the 5.5 distro, restart cobblerd, and then redo the 
mount/import.

I have seen this issue (a few months back) where cobblerd for whatever reason 
still sees the old ISO filesystem despite the files not actually being there. 
It seems to have been an issue with systemd, so if you're on F17 that could be 
the problem.

E-MAIL CONFIDENTIALITY NOTICE: 
The contents of this e-mail message and any attachments are intended solely for 
the addressee(s) and may contain confidential and/or legally privileged 
information. If you are not the intended recipient of this message or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message and any attachments. If you are 
not the intended recipient, you are notified that any use, dissemination, 
distribution, copying, or storage of this message or any attachment is strictly 
prohibited.


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

Reply via email to