Unsolved Salt Minion Problems
-
Is the master's firewall ports open for Salt to be listening?
-
@scottalanmiller said in Salt Minion Problems:
Is the minion looking to the right master?
how do I check these? I KNOW none of these commands and cant find one on the website
-
@WrCombs by default a salt minion will try communicate with a master named salt.
-
@WrCombs from your minion first try to ping your salt master by hostname so:
ping salt
-
yes,
I read that part. -
-
@WrCombs said in Salt Minion Problems:
@scottalanmiller said in Salt Minion Problems:
Is the minion looking to the right master?
how do I check these? I KNOW none of these commands and cant find one on the website
Well the instructions for what to open are here:
-
-
Here is how to see the firewall rules for the public zone...
sudo firewall-cmd --zone=public --list-all
-
@WrCombs said in Salt Minion Problems:
That looks wrong That's going after the public master, not your own.
-
That would explain it refusing the key, you are contacting a different Salt Master. You need to go into /etc/hosts and put in an entry for your own Salt master.
-
@WrCombs said in Salt Minion Problems:
This is one of the reasons your salt-master doesn't register the minions key
-
Did you follow the minion installation instructions? Setting "salt" in /etc/hosts was part of the instructions.
-
@scottalanmiller yes.. but it wont let me said permission denied
-
@WrCombs said in Salt Minion Problems:
@scottalanmiller yes.. but it wont let me said permission denied
What said that?
-
@scottalanmiller said in Salt Minion Problems:
Did you follow the minion installation instructions? Setting "salt" in /etc/hosts was part of the instructions.
yeah. i did exactly as your instructions said to do
-
@scottalanmiller said in Salt Minion Problems:
@WrCombs said in Salt Minion Problems:
@scottalanmiller yes.. but it wont let me said permission denied
What said that?
-
@WrCombs you need a text editor to open the file
-
@Romo said in Salt Minion Problems:
@WrCombs you need a text editor to open the file
a text editor? -
@WrCombs said in Salt Minion Problems:
@scottalanmiller said in Salt Minion Problems:
@WrCombs said in Salt Minion Problems:
@scottalanmiller yes.. but it wont let me said permission denied
What said that?
If you get permission denied, you don't just ignore it and think things will work. You stop and address the issue at the time. You attempted to run the hosts file as a command, which it is not, it is a text file that is not executable. Where in my directions did it say to "run" the file that you are to edit?