You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently did a git pull to update my salt-formula to the latest version.
Windows minions (are running Salt 3005.1) are throwing this error when applying the salt.minion state:
local:
----------
ID: salt-minion
Function: file.recurse
Name: C:\salt\conf\minion.d
Result: False
Comment: #### C:\salt\conf\minion.d\f_defaults.conf ####
Unable to manage file: Jinja error: 'NoneType' object has no attribute 'done'
Traceback (most recent call last):
File "C:\Program Files\Salt Project\Salt\lib\site-packages\salt\utils\templates.py", line 471, in render_jinja_tmpl
output = template.render(**decoded_context)
File "C:\Program Files\Salt Project\Salt\lib\site-packages\jinja2\environment.py", line 1301, in render
self.environment.handle_exception()
File "C:\Program Files\Salt Project\Salt\lib\site-packages\jinja2\environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 18, in top-level template code
File "C:\Program Files\Salt Project\Salt\lib\site-packages\salt\utils\jinja.py", line 185, in get_source
self.check_cache(_template)
File "C:\Program Files\Salt Project\Salt\lib\site-packages\salt\utils\jinja.py", line 138, in check_cache
ret = self.cache_file(template)
File "C:\Program Files\Salt Project\Salt\lib\site-packages\salt\utils\jinja.py", line 131, in cache_file
return fcl.get_file(saltpath, "", True, self.saltenv)
File "C:\Program Files\Salt Project\Salt\lib\site-packages\salt\fileclient.py", line 1173, in get_file
hash_server = self.hash_file(path, saltenv)
File "C:\Program Files\Salt Project\Salt\lib\site-packages\salt\fileclient.py", line 1407, in hash_file
return self.__hash_and_stat_file(path, saltenv)
File "C:\Program Files\Salt Project\Salt\lib\site-packages\salt\fileclient.py", line 1399, in __hash_and_stat_file
return self.channel.send(load)
File "C:\Program Files\Salt Project\Salt\lib\site-packages\salt\utils\asynchronous.py", line 125, in wrap
raise exc_info[1].with_traceback(exc_info[2])
File "C:\Program Files\Salt Project\Salt\lib\site-packages\salt\utils\asynchronous.py", line 131, in _target
result = io_loop.run_sync(lambda: getattr(self.obj, key)(*args, **kwargs))
File "C:\Program Files\Salt Project\Salt\lib\site-packages\salt\ext\tornado\ioloop.py", line 457, in run_sync
if not future_cell[0].done():
AttributeError: 'NoneType' object has no attribute 'done'
; line 18
---
[...]
{{ configname }}: {{ cfg_salt[configname]|json }}
{%- else -%}
#{{ configname }}: {{ default_value|json }}
{%- endif -%}
{%- endmacro -%}
{%- from 'salt/formulas.jinja' import file_roots, formulas with context -%} <======================
##### Primary configuration settings #####
##########################################
# This configuration file is used to manage the behavior of the Salt Minion.
# With the exception of the location of the Salt Master Server, values that are
[...]
---
Started: 19:31:44.552838
Duration: 4017.866 ms
Changes:
I recently did a git pull to update my salt-formula to the latest version.
Windows minions (are running Salt 3005.1) are throwing this error when applying the salt.minion state:
Pillar from a minion throwing the error:
The text was updated successfully, but these errors were encountered: