[root@salt /tmp ]# salt -N 'test' state.highstate test=true -l all
192-168-167-58:
The minion function caused an exception: Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/salt/minion.py", line 1161, in _thread_return
return_data = func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/salt/modules/state.py", line 523, in highstate
whitelist=kwargs.get('whitelist')
File "/usr/lib/python2.6/site-packages/salt/state.py", line 2968, in call_highstate
return self.state.call_high(high)
File "/usr/lib/python2.6/site-packages/salt/state.py", line 2067, in call_high
ret = dict(list(disabled.items()) + list(self.call_chunks(chunks).items()))
File "/usr/lib/python2.6/site-packages/salt/state.py", line 1623, in call_chunks
running = self.call_chunk(low, running, chunks)
File "/usr/lib/python2.6/site-packages/salt/state.py", line 1769, in call_chunk
self._mod_init(low)
File "/usr/lib/python2.6/site-packages/salt/state.py", line 612, in _mod_init
self.states['{0}.{1}'.format(low['state'], low['fun'])] # pylint: disable=W0106
File "/usr/lib/python2.6/site-packages/salt/utils/lazy.py", line 90, in __getitem__
raise KeyError(key)
KeyError: 'process.absent'
验证加上test=true会在一些服务器上报此错误,去掉test执行是可以通过的.
阅读(1733) | 评论(0) | 转发(0) |