Centos7 salt-minion not responding to (Manjaro) master
Posted: 04 Nov 2016, 14:58
I had to reinstall a lot lately and at some point I was completely unable to get my Centos 7 salt-minion to respond to the master even if it would produce a salt-key that the master could read.
It has worked before so my reinstalling must have something to do with it.
And a
on the Centos server revealed the following
Ah got it; it is the same with SSH so I had t delete the masterkey located here(on Centos 7):
Like this
Then I went to the Manjaro master and did a:
and the Centos computer was there
To check out Salt have a look here:
viewtopic.php?f=11&t=3228&p=21621
It has worked before so my reinstalling must have something to do with it.
And a
Code: Select all
systemctl status salt-minion.service
Code: Select all
[CRITICAL] The Salt Master server's public key did not authenticate!
Ah got it; it is the same with SSH so I had t delete the masterkey located here(on Centos 7):
Code: Select all
/etc/salt/pki/minion/minion_master.pub
Like this
Code: Select all
sudo rm /etc/salt/pki/minion/minion_master.pub
Then I went to the Manjaro master and did a:
Code: Select all
sudo salt '*' test.ping
and the Centos computer was there
To check out Salt have a look here:
viewtopic.php?f=11&t=3228&p=21621