在salt master端执行salt ‘*’ test.ping时,某一节点出现如下报错:
Minion did not return. [No response]

登陆到这一节点查看minion的日志,发现如下的问题:

 $ tail -f /var/log/salt/minion
The master may need to be updated if it is a version of Salt lower than 2015.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.
The master public key can be found at:
/etc/salt/pki/minion/minion_master.pub
-- ::, [salt.crypt ][ERROR ][] The Salt Master has cached the public key for this node, this salt minion will wait for seconds before attempting to re-authenticate
-- ::, [salt.crypt ][ERROR ][] The Salt Master has cached the public key for this node, this salt minion will wait for seconds before attempting to re-authenticate
-- ::, [salt.crypt ][ERROR ][] The Salt Master has cached the public key for this node, this salt minion will wait for seconds before attempting to re-authenticate

minion大概的意思就是,minion端拿到的key与master端的不符,验证无法通过。
解决方法是删除minion端的key,再重新与master进行连接和认证。

 $ cat pki/minion/minion_master.pub
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtzq0AjuyQsVEgsx692GN
... ...
7fbuudp4yu5vcYcqksKIFcm0J3E+OR+rx/NUIHt0ZL8HLxcSn4Si/S6dVp/vE7Oc
swIDAQAB
-----END PUBLIC KEY-----
[root@localhost salt]# rm -fr pki/minion/minion_master.pub [root@localhost salt]# service salt-minion restart
Stopping salt-minion daemon: [ OK ]
Starting salt-minion daemon: [ OK ]
13 salt-key -A      ##重新加载key

至此,master与minion端的通信正常。

最新文章

  1. LintCode-Longest Increasing Subsequence
  2. Docker学习笔记 — 配置国内免费registry mirror
  3. Python脚本控制的WebDriver 常用操作 <三> 浏览器最大化
  4. MATLAB连通域标记函数
  5. 零门槛!ZBLibrary仿微信朋友圈自定义View,就是这么简单!
  6. money 和 smallmoney
  7. Java设计模式模式观测(Observer Pattern)
  8. linux内核系统调用--sendfile函数
  9. Binder机制,从Java到C (10. Binder驱动)
  10. 四维dp 或者 剪枝 + dfs Codeforces Beta Round #6 (Div. 2 Only) D
  11. HDU5723 Abandoned country (最小生成树+深搜回溯法)
  12. Unity 使用TexturePackerGUI打包图集 Sprite 图片边上有线
  13. 【java】io流之字符输出流:java.io.Writer类及子类的子类java.io.FileWriter
  14. GIT入门笔记(11)- 多种撤销修改场景和对策--实战练习
  15. 苹果新的编程语言 Swift 语言进阶(八)--属性
  16. IMCASH:卖掉了比特币回老家生活的现在怎么样了?
  17. SQL-42 删除emp_no重复的记录,只保留最小的id对应的记录
  18. python中的列表的嵌套与转换
  19. 转 jeecg3.5中多数据源的配置
  20. 爬虫mm131明星照片

热门文章

  1. HDU - 1016 Prime Ring Problem 经典素数环
  2. eclipse neon 离线安装插件
  3. jquery冲突的关键字nodeName、nodeValue和nodeType!
  4. css-float浮动详细
  5. 远程kafka通信实例,各种bug解决----虚拟机+本地电脑
  6. python操作rabbitmq实现广播效果
  7. Elasticsearch之探索集群信息
  8. 转 如何快速清理 chrom 缓存
  9. select的type属性
  10. Memcached 未授权访问漏洞及加固