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!

时间: 2024-10-05 11:32:36

The Salt Master has rejected this minion's public key!的相关文章

Salt master

salt 安装:1 yum install salt-master (服务端) 2 yum install salt-minion(客户端) salt master和minion端认证: minion在第一次启动时,会在/etc/salt/pki/minion/下自动生成minion.pem(private key), minion.pub(public key),然后将minion.pub发送给master, master在接收到minion的public key后,通过salt-key命令a

学习环境搭建<一>批量部署,无人值守,部署salt master/minion

%新人自学的,肯定有不对的地方,指出来大家共同学习% 准备: rhel-server-6.4-x86_64-dvd.iso salt.tar.gz 第一步: 准备一台服务器,用以管理其他服务器 system---→       rhel-server-6.4-x86_64-dvd.iso ip---→                20.10.10.111 hostname----→  admin.black.com 配置好yum源 mkdir /iso mount /dev/cdrom /is

zmq导致master收不到minion的key

问题: 官网方式yum安装完saltstack之后,master与minion都成功启动后,但是却发现怎么都收不到minion的key.(zmq版本不一致所致,困扰了我好几天,希望能帮到大家.) 分析: master上的状态: # 查看master 上的配置文件,只修改了interface: [[email protected] doubles]# cat /etc/salt/master interface: 192.168.188.128 [[email protected] doubles

salt的api学习记录---minion的启动流程

最近在看minion的启动的源代码,一路曲折啊,经过一番努力,终于理解了流程.现在记录下,方便以后查阅. 总体来说流程如下: 1.解析命令行参数和minion配置文件,得到options和config字典 2.设置日志(salt.log.setup.setup_logfile_logger负责) 3.设置pidfile 4.根据master参数决定调用salt.minion.MultiMinion或者salt.minion.Minion初始化 5.调用tune_in方法 解析命令行参数和配置文件

基于Salt Master/Minions快速构建Salt SSH环境

前置阅读 环境说明 开工 创建用于Salt SSH环境的用户及key认证管理环境 配置Mine,以获取Minion id及IP地址 生成Salt Rosters 应用Salt SSH 后话 Salt 0.17版本已发布,该版本中重要的特性是引入了Salt SSH系统,提供了无需Minion.基于SSH的维护方式.原有的Salt维护环境已经初具规模,再手动重新构建Salt SSH环境成本较高.偷懒是人的天性,利用原有SaltStack Master/Minions环境,如何快速构建新的Salt S

git问题--Push rejected: Push to origin/master was rejected

解决git问题 Push rejected: Push to origin/master was rejected 意思是git拒绝合并两个不相干的东西 此时你需要在打开Git Bash,然后进入相应的目录,然后敲git命令 $ git pull origin master --allow-unrelated-histories 出现类似于这种信息就说明pull成功了: $ git pull origin master --allow-unrelated-histories From https

Git上传项目提示Push rejected: Push to origin/master was rejected解决办法

推送被拒绝:推送到源/主被拒绝 首先是你的项目中有和和历史不符的东西 Push rejected: Push to origin/master was rejected 推拒绝:推送到起源/主人被拒绝 直接是解决办法,直接打开你要上传代码的文件夹位置鼠标右键git Bash Here然后直接下面两行命令解决问题 git pull origin master –allow-unrelated-histories git push -u origin master -f 原文地址:https://w

解决上传代码到GitHub报错Push rejected: Push to origin/master was rejected

最近在 push 代码到 github 时,IDEA报错 Push rejected: Push to origin/master was rejected 在网友找了一圈,发现都不是想要的答案 于是在命令行敲了一遍 git push,报错信息如下 remote: error: GH007: Your push would publish a private email address. 其实上面这个才是真正具体的错误原因,其实是你修改了设置里关于邮箱的一个选项 解决办法:在GitHub的你账号

push to origin/master was rejected 解决办法

push to origin/master was rejected 解决办法 使用IDE git提交代码的时候,出现push to origin/master was rejected(如下图)解决办法如下: 1.打开terminal 2.git pull 3.git pull origin master 4.git pull origin master --allow-unrelated-histories 5.重新push,发现push成功 原文地址:https://www.cnblogs