saltstack 报错 Minion did not return. [No response]

简介:

Saltstack操作test.ping命令时报错:( salt '*' test.ping时报错)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[root@fxq01 ~] # salt '*' test.ping
fxq01:
     True
web3:
     True
web2:
     True
web1:
     Minion did not  return . [No response]
[root@fxq01 ~] # salt-key -L
Accepted Keys:
fxq01
web1
web2
web3
Denied Keys:
Unaccepted Keys:
Rejected Keys:

出现这个问题时,我操作了以下几个步骤解决了:

  1. 在fxq01上操作:salt-key -d web1   删除rm -rf /etc/salt/pki/master/minions/web1

  2. 在web1上操作:rm /etc/salt/pki/minion/* -rf  ;重启服务 systemctl restart salt-minion  然后查看ls /etc/salt/pki/minion/ 看有无文件(minion.pem  minion.pub)如果没有重启机器。

 3.关闭两台机器selinx,和防火墙:setenforce 0 (临时生效); iptables -F ;systemctl disable firewalld




本文转自 枫叶云  51CTO博客,原文链接:http://blog.51cto.com/fengyunshan911/2064650
相关文章
saltstack 从minion传送文件到master及minion文件后端minionfs系统
演示如下: vagrant@saltminion1:/tmp$ touch talen.txt vagrant@saltminion1:/tmp$ echo This is a test .
2304 0
|
消息中间件 监控 网络协议
SaltStack安装Apache/Mysql/PHP部署Wordpress
SaltStack是一个服务器基础架构集中化管理平台,具备配置管理、远程执行、监控等功能,基于Python语言实现,结合轻量级消息队列(ZeroMQ)与Python第三方模块(Pyzmq、PyCrypto、Pyjinjia2、python-msgpack和PyYAML等)构建。 SaltStack 采用 C/S模式,server端就是salt的master,client端就是minion,minion与master之间通过ZeroMQ消息队列通信。 master监听4505和4506端口,4505对应的是ZMQ的PUB system,用来发送消息,4506对应的是REP system是来接受
241 0