码迷,mamicode.com
首页 > 其他好文 > 详细

The Salt Master has rejected this minion's public key!

时间:2017-03-28 20:42:25      阅读:691      评论:0      收藏:0      [点我收藏+]

标签:path   cat   idf   repair   out   state   file path   start   deb   

salt查看日志: salt --log-level=all "10.199.165.244" state.highstate

进入调试模式: salt-minion -l debug
[DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Configuration file path: /etc/salt/minion
[INFO    ] Setting up the Salt Minion "本机主机名"
[DEBUG   ] Created pidfile: /var/run/salt-minion.pid
[DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Attempting to authenticate with the Salt Master at 主IP
[INFO    ] Generating keys: /etc/salt/pki/minion
[DEBUG   ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[CRITICAL] The Salt Master has rejected this minion‘s public key!
To repair this issue, delete the public key for this minion on the Salt Master and restart this minion.
Or restart the Salt Master in open mode to clean out the keys. The Salt Minion will now exit. 

删除master上的文件,rm -rf  /etc/salt/pki/master/minions/name

重启salt-minion

The Salt Master has rejected this minion's public key!

标签:path   cat   idf   repair   out   state   file path   start   deb   

原文地址:http://www.cnblogs.com/paisen/p/6636720.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!