我已经成功地在两个托管的VPS(Debian 7)之间使用Salt教程设置了主人和奴才。salt-minion tunnel初始连接
我试图在我的笔记本电脑(Ubuntu 14.04)上安装第二个小型机,但以下相同步骤失败。
我怀疑我的ISP阻止了Salt使用的一些端口。 我可能是错的,但这不会是我第一次遇到问题(我的住房合同中包含一些无线连接,住在某种年轻工人的住处)。
- 有没有办法告诉我的ISP阻塞了哪些端口?
- 我可以通过SSH隧道我的盐奴隶连接?
注意:SSH运行正常,如果能帮忙,我有机会到远程服务器(其它主机和仆从)。
匿名以下命令的输出:
$ salt-minion -l debug
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: nha-Ub
[DEBUG ] Configuration file path: /etc/salt/minion
[INFO ] Setting up the Salt Minion "my_machine_name"
[DEBUG ] Created pidfile: /var/run/salt-minion.pid
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Attempting to authenticate with the Salt Master at X.X.X.X
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[ERROR ] Attempt to authenticate with the salt master failed
您是否在服务器上运行'salt-key'?请检查nha-Ub的密钥是否已被接受。 – ahus1 2014-11-23 20:34:35
'salt-key'显示其他已经接受的密钥,但没有未决的(未接受的)密钥。 – nha 2014-11-23 21:36:37