Skip to content

Instantly share code, notes, and snippets.

@anthonyscolaro
Created December 18, 2015 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anthonyscolaro/06b38c9dbfdee8d9bf21 to your computer and use it in GitHub Desktop.
Save anthonyscolaro/06b38c9dbfdee8d9bf21 to your computer and use it in GitHub Desktop.
timeout settings
The minion function caused an exception: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 1039, in _thread_return
return_data = func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 554, in highstate
whitelist=kwargs.get('whitelist')
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 3077, in call_highstate
self.load_dynamic(matches)
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 2609, in load_dynamic
refresh=False)
File "/usr/lib/python2.7/dist-packages/salt/modules/saltutil.py", line 532, in sync_all
ret['grains'] = sync_grains(saltenv, False)
File "/usr/lib/python2.7/dist-packages/salt/modules/saltutil.py", line 369, in sync_grains
ret = _sync('grains', saltenv)
File "/usr/lib/python2.7/dist-packages/salt/modules/saltutil.py", line 112, in _sync
source, sub_env, include_pat=r'E@\.(pyx?|so|zip)$'
File "/usr/lib/python2.7/dist-packages/salt/modules/cp.py", line 444, in cache_dir
path, saltenv, include_empty, include_pat, exclude_pat
File "/usr/lib/python2.7/dist-packages/salt/fileclient.py", line 232, in cache_dir
for fn_ in self.file_list(saltenv):
File "/usr/lib/python2.7/dist-packages/salt/fileclient.py", line 1142, in file_list
return self.channel.send(load)
File "/usr/lib/python2.7/dist-packages/salt/utils/async.py", line 73, in wrap
ret = self._block_future(ret)
File "/usr/lib/python2.7/dist-packages/salt/utils/async.py", line 83, in _block_future
return future.result()
File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 215, in result
raise_exc_info(self._exc_info)
File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 876, in run
yielded = self.gen.throw(*exc_info)
File "/usr/lib/python2.7/dist-packages/salt/transport/zeromq.py", line 231, in send
ret = yield self._crypted_transfer(load, tries=tries, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 870, in run
value = future.result()
File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 215, in result
raise_exc_info(self._exc_info)
File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 876, in run
yielded = self.gen.throw(*exc_info)
File "/usr/lib/python2.7/dist-packages/salt/transport/zeromq.py", line 199, in _crypted_transfer
ret = yield _do_transfer()
File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 870, in run
value = future.result()
File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 215, in result
raise_exc_info(self._exc_info)
File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 876, in run
yielded = self.gen.throw(*exc_info)
File "/usr/lib/python2.7/dist-packages/salt/transport/zeromq.py", line 185, in _do_transfer
tries=tries,
File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 870, in run
value = future.result()
File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 215, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
SaltReqTimeoutError: Message timed out
Are there other options that could prevent the error below?
tcp_keepalive: True
tcp_keepalive_idle: 75
tcp_keepalive_cnt: 9
tcp_keepalive_intvl: 75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment