[cobbler] How to debug kickstart rendering error?

2016-01-14 Thread o haya
Hi, I'm pretty new to Cobbler and am trying to debug a problem with a configuration that was done by another person awhile ago. Whenmuch I run: cobbler system getks --name="WS01" I am getting: [root@cobbler rcp]# cobbler system getks --name="WS01" # This kickstart had errors that prevented it

Re: [cobbler] How to debug...

2014-08-08 Thread Michael Tiernan
So, my adventure has yielded some interesting results. I've been putting debug instrumenting/tracing statements into the code as I go along and I've found out that indeed the code in pxegen is the jumping off point for this issue. (N.B. I use my initials MCT to mark my debugs and the first thing I

Re: [cobbler] How to debug...

2014-08-04 Thread André Gemünd
Hi Michael, which version is this? 2.6? Your sync output is indeed incomplete. The interesting part is right before "copying files for distro" (which is already handled by a different code branch). You are missing a lot of output there, e.g. "copying distros to tftpboot", "copying images", "gen

Re: [cobbler] How to debug...

2014-08-04 Thread Michael Tiernan
On 8/2/14 12:02 PM, Alastair Munro wrote: > Are you sure static was not ticked for ip on the interface ? It is and that's legal. It still generates the correct DHCP information (which works properly.) (And yes, I've tried it without now too.) ___ cobbler

Re: [cobbler] How to debug...

2014-08-04 Thread Michael Tiernan
On 8/2/14 5:57 AM, André Gemünd wrote: > thats a bit strange, as you should at least get some error message. > Was that a full cobbler sync output you posted? There should e.g. at > least be a 'generating PXE configuration files' output. Which > version of Cobbler are you using? cobbler distro list

Re: [cobbler] How to debug...

2014-08-02 Thread Alastair Munro
Are you sure static was not ticked for ip on the interface ? -- Alastair Munro -Original Message- From: "André Gemünd" To: mtier...@mit.edu, cobbler mailing list Sent: Sat, 02 Aug 2014 10:57 Subject: Re: [cobbler] How to debug... Hi Michael, thats a bit strange, as you

Re: [cobbler] How to debug...

2014-08-02 Thread André Gemünd
Hi Michael, thats a bit strange, as you should at least get some error message. Was that a full cobbler sync output you posted? There should e.g. at least be a 'generating PXE configuration files' output. Which version of Cobbler are you using? cobbler distro list, cobbler profile list & cobble

Re: [cobbler] How to debug...

2014-08-01 Thread Michael Tiernan
On 7/31/14 7:41 PM, alast...@alastair-munro.com wrote: > Is there a file with the mac address in this dir? This is the problem, no MAC based files are being created. I'm sure it's something that will be obvious once it's found. :( ___ cobbler mailing li

Re: [cobbler] How to debug...

2014-07-31 Thread alastair
Check next_server in /etc/cobbler settings, restart xinetd, add -v (or -vv or -vvv) to /etc/xinetd.d/tftp file, what is in /var/lib/tftp/pxelinux.cfg? Is there a file with the mac address in this dir? Check logging in /var/log/messages... All this should give you an idea of what is going on.

Re: [cobbler] How to debug...

2014-07-31 Thread Michael Tiernan
On 7/31/14 2:57 PM, Jörgen Maas wrote: > if you are using the python tftp server these system definitions don't > get generated iirc. I'm sorry, maybe I'm dense. I'm obviously saying the wrong thing here because the tftp server selection doesn't change this. (I've tested it too.) When the target

Re: [cobbler] How to debug...

2014-07-31 Thread Jörgen Maas
if you are using the python tftp server these system definitions don't get generated iirc. check with: grep ^module.*tftp.* /etc/cobbler/modules.conf On Thu, Jul 31, 2014 at 8:45 PM, Michael Tiernan wrote: > Okay, here's what I'm running into now... > > I have a system that I just rebuilt as m

Re: [cobbler] How to debug...

2014-07-31 Thread Michael Tiernan
Okay, here's what I'm running into now... I have a system that I just rebuilt as my host server. Everything built without a hitch. However, now, I've added a distro, two profiles, and a system. The system definition ends up in the dhcp config file but the sync process does NOT build the PXE boot

Re: [cobbler] How to debug...

2014-07-28 Thread Michael Tiernan
On 7/25/14 7:36 PM, Drew Decker wrote: > It looks like you are having it manage your DHCP for you. Yeah, sorry, that's not the problem I'm running into. I'm assuming that there's a point in the 'sync' process where cobbler goes through the list of systems looking for conditions to trigger it cre

Re: [cobbler] How to debug...

2014-07-25 Thread Drew Decker
Michael, It looks like you are  having it manage your DHCP for you.  Are you sure that your /etc/cobbler/dhcp.template file is creating the correct template/output for your /etc/dhcpd/dhcpd.conf file?   If you are editing your /etc/dhcpd/dhcpd.conf file directly and/or manually, then that confi

Re: [cobbler] How to debug...

2014-07-25 Thread Michael Tiernan
On 7/22/14 4:36 PM, Michael Tiernan wrote: > I'm sure I can solve this by hard work but I'm wondering if there's a > way to trigger a debugging so that the steps that cobbler's supposed to > be doing are obvious. I assumed I broke the system doing some of the other things I was trying on the syste

[cobbler] How to debug...

2014-07-22 Thread Michael Tiernan
I'm sure I can solve this by hard work but I'm wondering if there's a way to trigger a debugging so that the steps that cobbler's supposed to be doing are obvious. I've got a single system in my cobbler instance and it *should* prepare the tftp stuff for the pxe boot but I'll be darned if I can se