saltstack管理四之saltstack故障解决(待续)
故障一:# salt '*' test.ping
Salt request timed out. If this error persists, worker_threads may need to be increased.
Failed to authenticate!This is most likely because this user is not permitted to execute commands, but there is a small possibility that a disk error occurred (check disk/inode usage).
解决方法:
首先根据错误提示,修改配置文件/etc/salt/master里面的worker_threads 参数,将其值改大,重启后发现错误依然存在
然后研究了半天才发现:之前master机器重启过,iptables防火墙设置的规则没有save保存,导致master与minion机不通信,解决如下:
# iptables -A INPUT -p tcp --dport 4505 -j ACCEPT
# iptables -A INPUT -p tcp --dport 4506 -j ACCEPT
# /etc/init.d/iptables save
# salt "*" test.ping
192.168.186.129:
True
页:
[1]