Salt - TypeError: argument of type 'StrictUndefined' is not iterable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Data failed to compile: | |
---------- | |
Rendering SLS carbon failed, render error: Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/salt/utils/templates.py", line 79, in render_tmpl | |
output = render_str(tmplstr, context, tmplpath) | |
File "/usr/lib/pymodules/python2.7/salt/utils/templates.py", line 157, in render_jinja_tmpl | |
output = jinja_env.from_string(tmplstr).render(**unicode_context) | |
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render | |
return self.environment.handle_exception(exc_info, True) | |
File "<template>", line 61, in top-level template code | |
TypeError: argument of type 'StrictUndefined' is not iterable | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/salt/state.py", line 1964, in render_state | |
rendered_sls=mods | |
File "/usr/lib/pymodules/python2.7/salt/template.py", line 69, in compile_template | |
ret = render(input_data, env, sls, **render_kwargs) | |
File "/usr/lib/pymodules/python2.7/salt/renderers/jinja.py", line 42, in render | |
tmp_data.get('data', 'Unknown render error in jinja renderer') | |
SaltRenderError: Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/salt/utils/templates.py", line 79, in render_tmpl | |
output = render_str(tmplstr, context, tmplpath) | |
File "/usr/lib/pymodules/python2.7/salt/utils/templates.py", line 157, in render_jinja_tmpl | |
output = jinja_env.from_string(tmplstr).render(**unicode_context) | |
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render | |
return self.environment.handle_exception(exc_info, True) | |
File "<template>", line 61, in top-level template code | |
TypeError: argument of type 'StrictUndefined' is not iterable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment