The Salt Master has rejected this minion's public key!
Posted 你坚持了吗
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The Salt Master has rejected this minion's public key!相关的知识,希望对你有一定的参考价值。
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!的主要内容,如果未能解决你的问题,请参考以下文章
SaltStack master file_roots 变量与 salt 命令执行的关系
Salt之Cpu 100%无响应故障 Salt request timed out. The master is not responding
Salt之Cpu 100%无响应故障 Salt request timed out. The master is not responding#yyds干货盘点#
The ECDSA host key for XXX has changed