1. salt-master的IP不通
比如salt-master节点网线掉了,或者当前masterIP漂移过,网卡的mac地址变了,但是salt-minion节点自身的arp表没有更新。
salt- minion日志特征:
2016-04-12 20:37:48,740 [salt.crypt ][WARNING ] SaltReqTimeoutError: Waited 60 seconds
2016-04-12 20:38:58,814 [salt.crypt ][WARNING ] SaltReqTimeoutError: Waited 60 seconds
2016-04-12 20:40:08,888 [salt.crypt ][WARNING ] SaltReqTimeoutError: Waited 60 seconds
2016-04-12 20:41:18,963 [salt.crypt ][WARNING ] SaltReqTimeoutError: Waited 60 seconds
2016-04-12 20:42:29,036 [salt.crypt ][WARNING ] SaltReqTimeoutError: Waited 60 seconds
若是master节点网线断了,那么所有minion节点都会有这个日志;
若只是部分minion的arp表没有更新,则只是没有更新arp表的minion上才有此日志
arp没有更新图示:
2.salt-master的IP有冲突
master日志特征:(没有命了执行权限)
2016-04-13 10:35:03,050 [salt.master ][WARNING ] Authentication failure of type "user" occurred.
2016-04-13 10:35:03,534 [salt.master ][WARNING ] Authentication failure of type "user" occurred.
2016-04-13 10:35:04,021 [salt.master ][WARNING ] Authentication failure of type "user" occurred.
2016-04-13 10:35:04,500 [salt.master ][WARNING ] Authentication failure of type "user" occurred.
2016-04-13 10:35:04,912 [salt.master ][WARNING ] Authentication failure of type "user" occurred.
salt-minion日志特征:(网络不通)
2016-04-12 20:37:48,740 [salt.crypt ][WARNING ] SaltReqTimeoutError: Waited 60 seconds
2016-04-12 20:38:58,814 [salt.crypt ][WARNING ] SaltReqTimeoutError: Waited 60 seconds
2016-04-12 20:40:08,888 [salt.crypt ][WARNING ] SaltReqTimeoutError: Waited 60 seconds
2016-04-12 20:41:18,963 [salt.crypt ][WARNING ] SaltReqTimeoutError: Waited 60 seconds
2016-04-12 20:42:29,036 [salt.crypt ][WARNING ] SaltReqTimeoutError: Waited 60 seconds
salt-master接的的/var/log/messages日志里可以查到类似记录:
Apr 12 20:35:26 localhost /etc/sysconfig/network-scripts/ifup-eth: Error, some other host already uses address 126.251.1.150.