Kickstart template error occurs after upgrading satellite server to 5.4 version.

Solution Verified - Updated -

Issue

  • Following error occurs after upgrading satellite server to 5.4 version for kickstart templates:

    "There are errors in your kickstart template. Please check the template errors to determine the problem with the template."
    =====================================================================
    <pre>
    Mod_python error: "PythonHandler services"
    
    Traceback (most recent call last):
    
      File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch
        log=debug)
    
      File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 464, in import_module
        module = imp.load_module(mname, f, p, d)
    
      File "/var/www/cobbler/svc/services.py", line 22, in ?
        from cobbler.services import CobblerSvc
    
      File "/usr/lib/python2.4/site-packages/cobbler/services.py", line 36, in ?
        import remote
    
      File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 45, in ?
        import api as cobbler_api
    
      File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 28, in ?
        import action_sync
    
      File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line 36, in ?
        import templar
    
      File "/usr/lib/python2.4/site-packages/cobbler/templar.py", line 29, in ?
        from template_api import Template
    
      File "/usr/lib/python2.4/site-packages/cobbler/template_api.py", line 42, in ?
        raise CX("/etc/cobbler/settings is not a valid YAML file")
    
    CX: '/etc/cobbler/settings is not a valid YAML file'
    

Environment

  • Red Hat Network Satellite v 5.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content