聚合全网技术文章,根据你的阅读喜好进行个性推荐
Default: 5
Set the default timeout for the salt command and api.
-v VERBOSE, --verbose
Turn on verbosity for the salt call, this will cause the salt command to print out extra data like the job id.
设置低于5s的timeout,打开verbose还不能抛出错误吗?
TIMEOUT
Default: 5
Set the default timeout for the salt command and api.
-v VERBOSE, --verbose
Turn on verbosity for the salt call, this will cause the salt command to print out extra data like the job id.
引用来自“一壶酒”的评论
设置低于5s的timeout,打开verbose还不能抛出错误吗?
TIMEOUT
Default: 5
Set the default timeout for the salt command and api.
-v VERBOSE, --verbose
Turn on verbosity for the salt call, this will cause the salt command to print out extra data like the job id.
先把/etc/salt/master下面的timeout:5修改成timeout:3。
PS(没怎么用过verbose)
我先把test3的minion服务给停掉。
test ~ # salt '*' test.ping --verbose
Executing job with jid 20150610164946711333
-------------------------------------------
test1:
True
test2:
True
test3:
Minion did not return. [Not connected]
然后根据jid
test ~ # salt-run jobs.lookup_jid 20150610164946711333
test1:
True
test2:
True
并没有看到什么信息。
还是我采取的方式不对。。。