ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Salt Minion Problems

    Scheduled Pinned Locked Moved Unsolved IT Discussion
    134 Posts 6 Posters 11.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RomoR
      Romo @Francesco Provino
      last edited by

      @Francesco-Provino the minion does have a long hostname but it is unique, also the master is properly named as salt and discoverable via dns.

      1 Reply Last reply Reply Quote 0
      • WrCombsW
        WrCombs
        last edited by

        Heres the new problem, the master doesn't have a key to accept.

        1 Reply Last reply Reply Quote 0
        • WrCombsW
          WrCombs
          last edited by

          4p3zZIQ.png

          1 Reply Last reply Reply Quote 0
          • RomoR
            Romo
            last edited by Romo

            My vms are all set, I'll run the installation to better help you troubleshoot this. Meanwhile lets try restarting the service

            sudo service salt-minion restart
            
            WrCombsW 1 Reply Last reply Reply Quote 0
            • RomoR
              Romo
              last edited by

              And try checking the master again.

              1 Reply Last reply Reply Quote 0
              • WrCombsW
                WrCombs @Romo
                last edited by

                @Romo stil' nothing

                4p3zZIQ.png

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  Is the minion looking to the right master?

                  WrCombsW 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    Is the master's firewall ports open for Salt to be listening?

                    1 Reply Last reply Reply Quote 0
                    • WrCombsW
                      WrCombs @scottalanmiller
                      last edited by

                      @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

                      RomoR scottalanmillerS 3 Replies Last reply Reply Quote 0
                      • RomoR
                        Romo @WrCombs
                        last edited by

                        @WrCombs by default a salt minion will try communicate with a master named salt.

                        1 Reply Last reply Reply Quote 0
                        • RomoR
                          Romo @WrCombs
                          last edited by

                          @WrCombs from your minion first try to ping your salt master by hostname so:

                          ping salt
                          
                          1 Reply Last reply Reply Quote 0
                          • WrCombsW
                            WrCombs
                            last edited by

                            yes,
                            I read that part.

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @WrCombs
                              last edited by

                              @WrCombs said in Salt Minion Problems:

                              yes,
                              I read that part.

                              Is it pinging the right machine?

                              WrCombsW 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @WrCombs
                                last edited by

                                @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:

                                https://mangolassi.it/topic/11812/installing-salt-master

                                1 Reply Last reply Reply Quote 0
                                • WrCombsW
                                  WrCombs @scottalanmiller
                                  last edited by

                                  @scottalanmiller 6ZYHcP2.png

                                  scottalanmillerS RomoR 2 Replies Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    Here is how to see the firewall rules for the public zone...

                                    sudo firewall-cmd --zone=public --list-all
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @WrCombs
                                      last edited by

                                      @WrCombs said in Salt Minion Problems:

                                      @scottalanmiller 6ZYHcP2.png

                                      That looks wrong 🙂 That's going after the public master, not your own.

                                      1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller
                                        last edited by

                                        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.

                                        WrCombsW 1 Reply Last reply Reply Quote 1
                                        • RomoR
                                          Romo @WrCombs
                                          last edited by

                                          @WrCombs said in Salt Minion Problems:

                                          @scottalanmiller 6ZYHcP2.png

                                          This is one of the reasons your salt-master doesn't register the minions key

                                          1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller
                                            last edited by

                                            Did you follow the minion installation instructions? Setting "salt" in /etc/hosts was part of the instructions.

                                            https://mangolassi.it/topic/11813/installing-a-salt-minion

                                            WrCombsW 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 4 / 7
                                            • First post
                                              Last post