On 01/15/2016 10:26 AM, o haya wrote:

--------------------------------------------
On Fri, 1/15/16, Orion Poplawski <[email protected]> wrote:

  Subject: [cobbler] Re: How to debug kickstart rendering error?
  To: [email protected]
  Date: Friday, January 15, 2016, 11:56 AM

  On 01/14/2016 11:02 PM, o
  haya wrote:
  > 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 from being rendered correctly.
  > # The
  cobbler.log should have information relating to this
  failure.
  > [root@cobbler rcp]#
  >
  > The cobbler.log
  doesn't seem to have much useful info:


  > [root@cobbler rcp]#
  >
  > Can anyone provide
  some tips about how I can debug this problem?

  Yeah, this is definitely one
  of the weak points in cobbler.  I tend to start
  wrapping sections of the kickstart snippets
  in

  #raw

  #end raw

  To
  narrow down the location of the problem.  Doing a kind of
  bisection seems
  to work okay.




Orion,

When you say "wrapping sections of the kickstart snippets", which files (in 
which dirs) do you do that to?  The error messages in the cobbler.log don't really 
indicate any specific files that are causing the error, and as I said, I'm new  to 
Cobbler, so apologies for the question.

Thanks,
Jim
_______________________________________________

cobbler will build the kickstart starting with a template in /var/lib/cobbler/kickstarts/ selected by your system/profile/distro. It will then also load files from /var/lib/cobbler/snippets/ as directed by the kickstart file.



--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [email protected]
Boulder, CO 80301              http://www.cora.nwra.com
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/admin/lists/[email protected]

Reply via email to