[Spacewalk-list] kickstart template error

Adam Yates yates at cct.lsu.edu
Fri Aug 27 14:59:14 UTC 2010


Got it fixed. This can be ignored now :)
I went back and redid the kickstarts from scratch and they're
working well now.

Adam

On 08/26/2010 05:10 PM, Adam Yates wrote:
> Hi everyone;
> I've uploaded a previous kickstart file that I've created for our org 
> that has
> worked like a charm previously.  I keep getting the following msg when
> uploading it as a ks profile in spacewalk though. See below:
>
> # *** 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.
> #
> #
> # hash() takes exactly one argument (0 given)
> #   File "/usr/lib/python2.4/site-packages/cobbler/templar.py", line 115, in render
> #     data_out = t.respond()
> #
> #   File "cheetah_DynamicallyCompiledCheetahTemplate_1282860491_37_22315.py", line 358, in respond
> #
> #   File "cheetah_DynamicallyCompiledCheetahTemplate_1282860491_37_22315.py", line 141, in __errorCatcher11
> #
> #   File "<string>", line 0, in ?
> #
>
> <pre>
> Mod_python error: "PythonHandler services"
>
> Traceback (most recent call last):
>
>    File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
>      result = object(req)
>
>    File "/var/www/cobbler/svc/services.py", line 98, in handler
>      return apache.HTTP_ERROR
>
> AttributeError: 'module' object has no attribute 'HTTP_ERROR'
>
> </pre>
>    
>
> Suggestions?
>
> Thanks,
> Adam
>
> -- 
> Adam Yates
> Systems Administrator -- Research Infrastructure
> Center for Computation and Technology
> 232 Johnston Hall,
> Baton Rouge, LA 70803
> W: 225.578.8235    C: 225.663.0218
> <yates at cct.lsu.edu>
>    
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

-- 
Adam Yates
Systems Administrator -- Research Infrastructure
Center for Computation and Technology
232 Johnston Hall,
Baton Rouge, LA 70803
W: 225.578.8235    C: 225.663.0218
<yates at cct.lsu.edu>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100827/2631d79b/attachment.htm>


More information about the Spacewalk-list mailing list