[Spacewalk-list] kickstart "template errors"
Tomas Lestach
tlestach at redhat.com
Tue Jan 5 10:52:41 UTC 2010
Hey Brian,
check the following post:
http://www.mail-archive.com/spacewalk-list@redhat.com/msg02797.html
Regards,
Tomas
--
Tomas Lestach
RHN Satellite Engineering, Red Hat
----- "Brian Whitehead" <bwhitehd at gmail.com> wrote:
> I'm creating a new kickstart profile and immediately after creation I
> get the red banner that states there are "template errors".
>
> Here is the ks.cfg with the traceback. Thoughts?
>
> Brian
>
>
> # *** 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.
> #
> #
> # ErrorCatcher instance has no attribute 'listErrors'
> # File "/usr/lib/python2.6/site-packages/cobbler/templar.py", line
> 122, in render
> # self.last_errors = t.errorCatcher().listErrors()
> #
>
> <pre>
> MOD_PYTHON ERROR
>
> ProcessId: 17577
> Interpreter: 'rhn.server'
>
> ServerName: 'localhost.localdomain'
> DocumentRoot: '/var/www/html'
>
> URI:
> '/cblr/svc/op/ks/profile/ksfedora12i386:1:SpacewalkPublicCert'
> Location: None
> Directory: '/var/www/cobbler/svc/'
> Filename: '/var/www/cobbler/svc/op'
> PathInfo: '/ks/profile/ksfedora12i386:1:SpacewalkPublicCert'
>
> Phase: 'PythonHandler'
> Handler: 'services'
>
> Traceback (most recent call last):
>
> File "/usr/lib/python2.6/site-packages/mod_python/importer.py",
> line
> 1537, in HandlerDispatch
> default=default_handler, arg=req, silent=hlist.silent)
>
> File "/usr/lib/python2.6/site-packages/mod_python/importer.py",
> line
> 1229, in _process_target
> result = _execute_target(config, req, object, arg)
>
> File "/usr/lib/python2.6/site-packages/mod_python/importer.py",
> line
> 1128, in _execute_target
> result = object(arg)
>
> File "/var/www/cobbler/svc/services.py", line 98, in handler
> return apache.HTTP_ERROR
>
> AttributeError: 'module' object has no attribute 'HTTP_ERROR'
>
>
> MODULE CACHE DETAILS
>
> Accessed: Thu Dec 24 10:24:21 2009
> Generation: 0
>
> _mp_cb62af599b9ec7a553f07c92e369abb6 {
> FileName: '/var/www/cobbler/svc/services.py'
> Instance: 1 [IMPORT]
> Generation: 1
> Modified: Wed Aug 19 17:31:23 2009
> Imported: Thu Dec 24 10:24:21 2009
> }
>
> </pre>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
More information about the Spacewalk-list
mailing list