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

    Unsolved Salt Minion Problems

    IT Discussion
    6
    134
    10.2k
    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 @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
                          • 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
                              • RomoR
                                Romo @scottalanmiller
                                last edited by

                                @scottalanmiller said in Salt Minion Problems:

                                @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
                                

                                Indeed no need to use a text editor directly when using that method 😃

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

                                  @scottalanmiller https://i.imgur.com/b9ewd2H.png

                                  and this is what i get

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

                                    @WrCombs said in Salt Minion Problems:

                                    @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

                                    Check your hosts file content

                                    cat /etc/hosts
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @WrCombs
                                      last edited by

                                      @WrCombs said in Salt Minion Problems:

                                      @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

                                      Did you remember to update the IP address that you echo'd in with the real one, not one from a generic sample? I see the sample IP address in the hosts file, but not your IP address. When using examples, you can't use the specific addresses shown, they will always be specific to your setup.

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

                                        @WrCombs said in Salt Minion Problems:

                                        @scottalanmiller https://i.imgur.com/b9ewd2H.png

                                        and this is what i get

                                        What this command means is, insert 192.168.1.92 into the end of the file /etc/hosts'. Every time you run it it will just append whatever you have in quotations into the file.

                                        Also remember to first check if that ip is really the ip of the salt master.

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

                                          @WrCombs said in Salt Minion Problems:

                                          @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

                                          Are you sure you did that on the right box? I don't see any echo command in the command history.

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

                                            This is really a great crash course in linux commands 😃

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