Error trying to highstate new Oracle Linux 6 minions

21 views
Skip to first unread message

Jak Crow

unread,
Jun 7, 2016, 2:14:07 PM6/7/16
to Salt-users
We're running into issues trying to salt new Oracle Linux 6 minions that we haven't run into with other distros, or even with OEL 5 and 7. When we try to highstate these new servers, we end up with the following errors complaining about the python-mako lib for the salt-minion install, possibly due to an issue with external pillars. Anyone with any suggestions?

salt -v (hostname) state.highstate

Executing job with jid 20160607134351669440
-------------------------------------------

(hostname)
Data failed to compile:
----------
    Rendering SLS 'base:set_kali_version' failed:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/utils/templates.py", line 445, in render_mako_tmpl
    lookup=lookup
TypeError: __init__() got an unexpected keyword argument 'strict_undefined'

----------
    Rendering SLS 'base:set_osx_version' failed:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/utils/templates.py", line 445, in render_mako_tmpl
    lookup=lookup
TypeError: __init__() got an unexpected keyword argument 'strict_undefined'

----------
    Rendering SLS 'base:augeas' failed:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/utils/templates.py", line 445, in render_mako_tmpl
    lookup=lookup
TypeError: __init__() got an unexpected keyword argument 'strict_undefined'

----------
    Rendering SLS 'base:logging' failed:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/utils/templates.py", line 445, in render_mako_tmpl
    lookup=lookup
TypeError: __init__() got an unexpected keyword argument 'strict_undefined'

----------
    Rendering SLS 'base:set_timezone' failed:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/utils/templates.py", line 445, in render_mako_tmpl
    lookup=lookup
TypeError: __init__() got an unexpected keyword argument 'strict_undefined'

----------
    Rendering SLS 'base:ssh_host_keys' failed:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/utils/templates.py", line 445, in render_mako_tmpl
    lookup=lookup
TypeError: __init__() got an unexpected keyword argument 'strict_undefined'

----------
    Rendering SLS 'base:apt_keys' failed:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/utils/templates.py", line 445, in render_mako_tmpl
    lookup=lookup
TypeError: __init__() got an unexpected keyword argument 'strict_undefined'

----------
    Rendering SLS 'base:ossec_agent' failed:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/utils/templates.py", line 445, in render_mako_tmpl
    lookup=lookup
TypeError: __init__() got an unexpected keyword argument 'strict_undefined'

----------
    Rendering SLS 'base:auth_config' failed:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/utils/templates.py", line 445, in render_mako_tmpl
    lookup=lookup
TypeError: __init__() got an unexpected keyword argument 'strict_undefined'

----------
    Rendering SLS 'base:pam_access' failed:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/utils/templates.py", line 445, in render_mako_tmpl
    lookup=lookup
TypeError: __init__() got an unexpected keyword argument 'strict_undefined'

----------
    Rendering SLS 'base:users_n_groups' failed:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/utils/templates.py", line 445, in render_mako_tmpl
    lookup=lookup
TypeError: __init__() got an unexpected keyword argument 'strict_undefined'

----------
    Rendering SLS 'base:snmpd' failed:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/utils/templates.py", line 445, in render_mako_tmpl
    lookup=lookup
TypeError: __init__() got an unexpected keyword argument 'strict_undefined'

----------
    Rendering SLS 'base:ntp' failed:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/utils/templates.py", line 445, in render_mako_tmpl
    lookup=lookup
TypeError: __init__() got an unexpected keyword argument 'strict_undefined'
ERROR: Minions returned with non-zero exit code

Colton Myers

unread,
Jun 22, 2016, 1:25:35 PM6/22/16
to salt-...@googlegroups.com, Jak Crow
I wonder if you need a newer version of python-mako?

--  
Colton Myers
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages