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

      https://i.imgur.com/rmoUM5C.png

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

        https://i.imgur.com/rXYlbqk.png

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

          @WrCombs said in Salt Minion Problems:

          https://i.imgur.com/rmoUM5C.png

          Please show us your full /etc/hosts file

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

            @Romo https://i.imgur.com/5xAXyPx.png

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

              @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

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

                @Romo how do we do that.

                DashrenderD RomoR 2 Replies Last reply Reply Quote 0
                • DashrenderD
                  Dashrender @WrCombs
                  last edited by

                  @WrCombs said in Salt Minion Problems:

                  @Romo how do we do that.

                  Have fun with vi or install nano.

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

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

                    ?

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

                      @WrCombs We have two ways, first way would be to use a text editor

                      1 Reply Last reply Reply Quote 0
                      • DashrenderD
                        Dashrender @WrCombs
                        last edited by

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

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

                          https://i.imgur.com/uKFhk8u.png

                          @Romo @scottalanmiller : looks better to me

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

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

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

                              Its unaccepted
                              !

                              https://i.imgur.com/iLNaA8H.png

                              RomoR 1 Reply Last reply Reply Quote 0
                              • DashrenderD
                                Dashrender
                                last edited by

                                Now that the IP thing if fixed, try setting up the minion from scratch again.

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

                                  keys has been accepted

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

                                    @WrCombs said in Salt Minion Problems:

                                    Its unaccepted
                                    !

                                    https://i.imgur.com/iLNaA8H.png

                                    You have to accept the key

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

                                      @WrCombs said in Salt Minion Problems:

                                      keys has been accepted

                                      Try running

                                      salt '*' test.ping
                                      
                                      WrCombsW 1 Reply Last reply Reply Quote 0
                                      • WrCombsW
                                        WrCombs @Romo
                                        last edited by

                                        @Romo said in Salt Minion Problems:

                                        @WrCombs said in Salt Minion Problems:

                                        keys has been accepted

                                        Try running

                                        salt '*' test.ping
                                        

                                        https://i.imgur.com/ufHTuiO.png

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

                                          @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
                                          

                                          https://i.imgur.com/ufHTuiO.png

                                          The minions name seems wrong, it should be the hostname of the machine. Didn't pay attention to that when we accepted the key.

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

                                            @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
                                            

                                            https://i.imgur.com/ufHTuiO.png

                                            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

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