坑-minion改IP

  • minion IP,192.168.184.129更改为 192.168.184.133,重启master和minion服务后,发现master端未发现192.168.184.133,仍是如下:
[root@localhost ~]# salt-key -L
Accepted Keys:
192.168.184.129
Denied Keys:
Unaccepted Keys:
Rejected Keys:
  • 查看master日志,并未有发现
  • 查看minion日志:
2017-09-19 16:45:43,691 [salt.crypt                                            ][ERROR   ][12951] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:45:52,700 [salt.utils.parsers                                    ][WARNING ][12951] Minion received a SIGTERM. Exiting.
2017-09-19 16:45:55,151 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:46:05,159 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:46:15,177 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:46:25,195 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:46:35,212 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:46:45,230 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:46:55,248 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:47:05,266 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:47:15,279 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:47:25,296 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:47:35,314 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
  • 原因是因为master端在这个minion上有着缓存的key,存的是192.168.184.129,所以无法识别192.168.184.133
  • 解决方法:minion端上执行rm -rf /etc/salt/minion_id,后重启服务。
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Saltstack介绍 Saltstack是一个新的基础设施管理工具。目前处于快速发展阶段,可以看做是强化的Fun...
    yoyo鹿鸣阅读 2,328评论 0 0
  • 学习地址[http://tech.mainwise.cn/?p=438] 更新于 3.25 23:16 salt简...
    J书越来越垃圾了阅读 30,909评论 9 36
  • 前言 前面我们均以单master管理多minion的方式开展学习,在saltstack架构扩展中,我们将学习如何扩...
    风逍H阅读 710评论 0 0
  • 那一程 于午后初见 阳光微醺 玉兰绽开 已记不起你的模样 昏黄的路灯下 我们是夜归人 一路无语 那一晚 你的歌声动...
    日落黄昏的乌鸦阅读 275评论 0 0
  • 制作静态库 动态库:.dylib .framework 静态库:.a .framework 两者区别*:动态库时在...
    海青阅读 1,895评论 0 1