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

    Unsolved Salt Minion Problems

    IT Discussion
    6
    134
    10.3k
    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.
    • 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 https://i.imgur.com/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 https://i.imgur.com/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 https://i.imgur.com/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?

                                      https://i.imgur.com/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?

                                            https://i.imgur.com/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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 6 / 7
                                            • First post
                                              Last post