[iyunv@namenode ~]# /etc/init.d/salt-minion status
salt-minion dead but pid file exists
仍然没有解决问题。
不要着急,debug一下:
[iyunv@namenode ~]salt-minion -l debug
[INFO ] Setting up the Salt Minion
"namenode"
[DEBUG ] Created pidfile:
/var/run/salt-minion.pid
[DEBUG ] Reading configuration
from /etc/salt/minion
[DEBUG ] Attempting to authenticate with the Salt Master at
192.168.1.53
[DEBUG ] Initializing new SAuth
for ('/etc/salt/pki/minion', 'namenode', 'tcp://192.168.1.53:4506')
[ERROR ] The master key has changed, the salt master could have been subverted, verify salt master
's public key
[CRITICAL] The Salt Master server's public key did not authenticate!
The master may need to be updated if it is a version of Salt lower than 2015.5.5, or
If you are confident that you are connecting to a valid Salt Master, then remove the master public key and restart the Salt Minion.
2015-12-15 16:35:06,519 [salt.crypt][CRITICAL][12704] The Salt Master server's public key did not authenticate!
10647 The master may need to be updated if it is a version of Salt lower than 2015.5.5, or
10648 If you are confident that you are connecting to a valid Salt Master, then remove the master public key and restart the Salt Minion.