Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Salt request timed out. The master is not responding. #49105

Closed
slhu91 opened this issue Aug 14, 2018 · 5 comments
Closed

Salt request timed out. The master is not responding. #49105

slhu91 opened this issue Aug 14, 2018 · 5 comments
Labels
Pending-Discussion The issue or pull request needs more discussion before it can be closed or merged stale
Milestone

Comments

@slhu91
Copy link

slhu91 commented Aug 14, 2018

Description of Issue/Question

saltstack run exception error
sometimes success and sometimes failed
image

image
image

Setup

Steps to Reproduce Issue

Versions Report

(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
master version
image

minion version
image

@slhu91
Copy link
Author

slhu91 commented Aug 14, 2018

debug in salt-minion, have follow info

minion return: {u'fun_args': [u'base.abc_test', {u'test': True}], u'jid': u'20180814145515520668', u'return': u'The minion function caused an exception: Traceback (most recent call last):
File "/data/saltstack/python/lib/python2.7/site-packages/salt/minion.py", line 1600, in _thread_return
return_data = minion_instance.executors[fname](opts, data, func, args, kwargs)
File "/data/saltstack/python/lib/python2.7/site-packages/salt/executors/direct_call.py", line 12, in execute
return func(*args, **kwargs)
File "/data/saltstack/python/lib/python2.7/site-packages/salt/modules/state.py", line 1236, in sls
initial_pillar=_get_initial_pillar(opts))
File "/data/saltstack/python/lib/python2.7/site-packages/salt/state.py", line 3987, in init
BaseHighState.init(self, opts)
File "/data/saltstack/python/lib/python2.7/site-packages/salt/state.py", line 2854, in init
self.avail = self.__gather_avail()
File "/data/saltstack/python/lib/python2.7/site-packages/salt/state.py", line 2864, in __gather_avail
avail[saltenv] = self.client.list_states(saltenv)
File "/data/saltstack/python/lib/python2.7/site-packages/salt/fileclient.py", line 392, in list_states
for path in self.file_list(saltenv):
File "/data/saltstack/python/lib/python2.7/site-packages/salt/fileclient.py", line 1276, in file_list
return salt.utils.data.decode(self.channel.send(load)) if six.PY2
File "/data/saltstack/python/lib/python2.7/site-packages/salt/utils/async.py", line 64, in wrap
ret = self._block_future(ret)
File "/data/saltstack/python/lib/python2.7/site-packages/salt/utils/async.py", line 74, in _block_future
return future.result()
File "/data/saltstack/python/lib/python2.7/site-packages/tornado-4.5-py2.7-linux-x86_64.egg/tornado/concurrent.py", line 238, in result
raise_exc_info(self._exc_info)
File "/data/saltstack/python/lib/python2.7/site-packages/tornado-4.5-py2.7-linux-x86_64.egg/tornado/gen.py", line 1063, in run
yielded = self.gen.throw(*exc_info)
File "/data/saltstack/python/lib/python2.7/site-packages/salt/transport/zeromq.py", line 324, in send
ret = yield self._crypted_transfer(load, tries=tries, timeout=timeout, raw=raw)
File "/data/saltstack/python/lib/python2.7/site-packages/tornado-4.5-py2.7-linux-x86_64.egg/tornado/gen.py", line 1055, in run
value = future.result()
File "/data/saltstack/python/lib/python2.7/site-packages/tornado-4.5-py2.7-linux-x86_64.egg/tornado/concurrent.py", line 238, in result
raise_exc_info(self._exc_info)
File "/data/saltstack/python/lib/python2.7/site-packages/tornado-4.5-py2.7-linux-x86_64.egg/tornado/gen.py", line 1063, in run
yielded = self.gen.throw(*exc_info)
File "/data/saltstack/python/lib/python2.7/site-packages/salt/transport/zeromq.py", line 292, in _crypted_transfer
ret = yield _do_transfer()
File "/data/saltstack/python/lib/python2.7/site-packages/tornado-4.5-py2.7-linux-x86_64.egg/tornado/gen.py", line 1055, in run
value = future.result()
File "/data/saltstack/python/lib/python2.7/site-packages/tornado-4.5-py2.7-linux-x86_64.egg/tornado/concurrent.py", line 238, in result
raise_exc_info(self._exc_info)
File "/data/saltstack/python/lib/python2.7/site-packages/tornado-4.5-py2.7-linux-x86_64.egg/tornado/gen.py", line 1063, in run
yielded = self.gen.throw(*exc_info)
File "/data/saltstack/python/lib/python2.7/site-packages/salt/transport/zeromq.py", line 276, in _do_transfer
tries=tries,
File "/data/saltstack/python/lib/python2.7/site-packages/tornado-4.5-py2.7-linux-x86_64.egg/tornado/gen.py", line 1055, in run
value = future.result()
File "/data/saltstack/python/lib/python2.7/site-packages/tornado-4.5-py2.7-linux-x86_64.egg/tornado/concurrent.py", line 238, in result
raise_exc_info(self._exc_info)
File "", line 3, in raise_exc_infonSaltReqTimeoutError: Message timed out', u'success': False, u'fun': u'state.sls', u'out': u'nested'}

@garethgreenaway
Copy link
Contributor

@slhu91 Thanks for the report. It appears that at the start of the logs the minion had an exception. can you provide information about what Salt function you were running that may have caused this?

@garethgreenaway garethgreenaway added this to the Blocked milestone Aug 14, 2018
@garethgreenaway garethgreenaway added the Pending-Discussion The issue or pull request needs more discussion before it can be closed or merged label Aug 14, 2018
@slhu91
Copy link
Author

slhu91 commented Aug 15, 2018

this is my abc_test.sls file

push_file_test:
file.managed:
- name: /data/disops_release/iGeneral_client_2.tgz
- source: salt://base/file/iGeneral_client_2.tgz
- user: root
- group: root
- mode: 644

It throw error when run salt 'x.x.x.x' state.sls base.abc_test ,just transmit file

@slhu91
Copy link
Author

slhu91 commented Aug 20, 2018

@garethgreenaway Is there an answer?

@stale
Copy link

stale bot commented Jan 10, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

@stale stale bot added the stale label Jan 10, 2020
@stale stale bot closed this as completed Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pending-Discussion The issue or pull request needs more discussion before it can be closed or merged stale
Projects
None yet
Development

No branches or pull requests

2 participants