[Spacewalk-list] Cobbler template error when using the kickstart template wizard

Colin Coe colin.coe at gmail.com
Fri May 6 01:10:06 UTC 2011


Do you have any custom snippets or kickstart pre/post scripts?  If you
do, have you put #raw/#endraw tags in the snippets?

CC

On Fri, May 6, 2011 at 4:06 AM, Tim Tedford <ttedford at renesys.com> wrote:
> Hello everyone.
> I have a new Spacewalk 1.4 installation on Scientific Linux 6.0. When I
> create a new kickstart profile, I am receiving the following error on the
> profile's "Kickstart Details/Details" page:
> There are errors in your kickstart template. Please check the template
> errors to determine the problem with the template.
>
> The error output from the template errors page is below. This is a kickstart
> profile using a new Scientific Linux 6.0 Distribution and Base Channel.
> Any ideas of what could be causing this, or how I could fix it?
> Thanks,
> Tim Tedford
>
> # *** ERROR ***
> #
> # There is a templating error preventing this file from rendering correctly.
> #
> # This is most likely not due to a bug in Cobbler and is something you can
> fix.
> #
> # Look at the message below to see what things are causing problems.
> #
> # (1) Does the template file reference a $variable that is not defined?
> # (2) is there a formatting error in a Cheetah directive?
> # (3) Should dollar signs ($) be escaped that are not being escaped?
> #
> # Try fixing the problem and then investigate to see if this message goes
> # away or changes.
> #
> #
> # SNIPPET() takes exactly 2 arguments (3 given)
> #   File "/usr/lib/python2.6/site-packages/cobbler/templar.py", line 141, in
> render
> #     data_out = t.respond()
> #
> #   File
> "cheetah_DynamicallyCompiledCheetahTemplate_1304541712_12_75250.py", line
> 248, in respond
> #
> #   File
> "cheetah_DynamicallyCompiledCheetahTemplate_1304541712_12_75250.py", line
> 109, in __errorCatcher7
> #
> #   File "<string>", line 1, in <module>
> #
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>



-- 
RHCE#805007969328369




More information about the Spacewalk-list mailing list