Centos7 salt-minion not responding to (Manjaro) master

Tips and Tricks for Networking

Moderator: jkerr82508

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Centos7 salt-minion not responding to (Manjaro) master

Postby viking60 » 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

Code: Select all

systemctl status salt-minion.service
on the Centos server revealed the following

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 :jackpot
Image
To check out Salt have a look here:
:A
viewtopic.php?f=11&t=3228&p=21621
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

Return to “Networking”