Unsolved Salt Minion Problems
-
-
-
@WrCombs you forgot to add the hostname after the ip address when appending to the hosts file. That is why both 192.168.1.97 and .94 dont have one, we have to fix this before moving on.
# You ran echo "192.168.1.94" >> /etc/hosts #Should've been echo "192.168.1.94 salt" >> /etc/hosts
We are going to have to edit the file and add the hostname
-
@Romo how do we do that.
-
-
@Dashrender said in Salt Minion Problems:
@WrCombs said in Salt Minion Problems:
@Romo how do we do that.
Have fun with vi or install nano.
?
-
@WrCombs We have two ways, first way would be to use a text editor
-
@WrCombs said in Salt Minion Problems:
@Dashrender said in Salt Minion Problems:
@WrCombs said in Salt Minion Problems:
@Romo how do we do that.
Have fun with vi or install nano.
?
Google is your friend.
vi is a text editor that has been around for almost ever. You'll need to google the commands for how to use it.
nano is a generally easier to use text editor. -
https://i.imgur.com/uKFhk8u.png
@Romo @scottalanmiller : looks better to me
-
@WrCombs said in Salt Minion Problems:
https://i.imgur.com/uKFhk8u.png
@Romo @scottalanmiller : looks better to me
Yes indeed, good job. Now lets go back to the salt master and check for the salt-minons key.
-
Its unaccepted
! -
Now that the IP thing if fixed, try setting up the minion from scratch again.
-
keys has been accepted
-
-
-
@Romo said in Salt Minion Problems:
@WrCombs said in Salt Minion Problems:
keys has been accepted
Try running
salt '*' test.ping
-
@WrCombs said in Salt Minion Problems:
@Romo said in Salt Minion Problems:
@WrCombs said in Salt Minion Problems:
keys has been accepted
Try running
salt '*' test.ping
The minions name seems wrong, it should be the hostname of the machine. Didn't pay attention to that when we accepted the key.
-
@Romo said in Salt Minion Problems:
@WrCombs said in Salt Minion Problems:
@Romo said in Salt Minion Problems:
@WrCombs said in Salt Minion Problems:
keys has been accepted
Try running
salt '*' test.ping
The minions name seems wrong, it should be the hostname of the machine. Didn't pay attention to that when we accepted the key.
the minions name is what i set it to. following mr. scotts instructions on the thread
-
I set the minion's name when I created the VM.
-
Key might have been accepted too fast, that's not a healthy minion name.