Chinaunix首页 | 论坛 | 博客
  • 博客访问: 235581
  • 博文数量: 49
  • 博客积分: 1035
  • 博客等级: 少尉
  • 技术积分: 477
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-14 17:23
文章分类

全部博文(49)

文章存档

2015年(15)

2014年(6)

2011年(1)

2008年(3)

2007年(11)

2006年(13)

我的朋友

分类: LINUX

2015-03-24 15:31:59


1. 进入调试模式: 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.

2.删除 /etc/salt/minion配置文件在重启调试模式
[DEBUG   ] Missing configuration file: /etc/salt/minion
[DEBUG   ] Guessing ID. The id can be explicitly in set /etc/salt/minion
[INFO    ] Found minion id from generate_minion_id(): 本机的主机名
[DEBUG   ] Configuration file path: /etc/salt/minion
[INFO    ] Setting up the Salt Minion "本机的主机名"
[DEBUG   ] Created pidfile: /var/run/salt-minion.pid
[DEBUG   ] Missing configuration file: /etc/salt/minion
[ERROR   ] DNS lookup of 'salt' failed.
[ERROR   ] Master hostname: 'salt' not found. Retrying in 30 seconds
[ERROR   ] DNS lookup of 'salt' failed.
[ERROR   ] Master hostname: 'salt' not found. Retrying in 30 seconds
3. 再次更改/etc/salt/minion中的master id后解决。


阅读(6186) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~