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 @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
                          • WrCombsW
                            WrCombs @scottalanmiller
                            last edited by

                            @scottalanmiller yes.. but it wont let me said permission denied

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

                              @WrCombs said in Salt Minion Problems:

                              @scottalanmiller yes.. but it wont let me said permission denied

                              What said that?

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

                                @scottalanmiller said in Salt Minion Problems:

                                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

                                yeah. i did exactly as your instructions said to do

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

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

                                  jcCmqK3.png

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

                                    @WrCombs you need a text editor to open the file

                                    WrCombsW scottalanmillerS 2 Replies Last reply Reply Quote 0
                                    • WrCombsW
                                      WrCombs @Romo
                                      last edited by

                                      @Romo said in Salt Minion Problems:

                                      @WrCombs you need a text editor to open the file
                                      a text editor?

                                      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:

                                        @WrCombs said in Salt Minion Problems:

                                        @scottalanmiller yes.. but it wont let me said permission denied

                                        What said that?

                                        jcCmqK3.png

                                        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?

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

                                          @Romo said in Salt Minion Problems:

                                          @WrCombs you need a text editor to open the file

                                          Not from my directions. If he just used what I provided, he didn't even need that...

                                          echo '192.168.1.92 salt' >> /etc/hosts
                                          
                                          RomoR WrCombsW 2 Replies Last reply Reply Quote 1
                                          • WrCombsW
                                            WrCombs @scottalanmiller
                                            last edited by

                                            @scottalanmiller OK i said i followed your instructions, yes. because i did the first time. thats what I put when i was doing the install, at that point, thats what i put in the box

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