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

      @scottalanmiller 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 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
                • scottalanmillerS
                  scottalanmiller @Romo
                  last edited by

                  @Romo said in Salt Minion Problems:

                  @WrCombs said in Salt Minion Problems:

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

                  That one is, in the source, it was not. I modified it when I put it here.

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

                    How do i find the IP address of the master?

                    I tried and ifconfig command and it didnt work.

                    is it supposed to my person ip?

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

                      @WrCombs said in Salt Minion Problems:

                      How do i find the IP address of the master?

                      I tried and ifconfig command and it didnt work.

                      is it supposed to my person ip?

                      ifconfig is the command from the olden days (like many months ago), the current command is...

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

                        @WrCombs said in Salt Minion Problems:

                        is it supposed to my person ip?

                        The ip of your salt master.

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

                          @WrCombs on the master, run

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

                            so iget it and it still tells me "permission denied"

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

                              GOT IT

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

                                @WrCombs said in Salt Minion Problems:

                                so iget it and it still tells me "permission denied"

                                Try to post the results your commands, this way its easier for everyone to troubleshoot.

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

                                  rmoUM5C.png

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

                                    rXYlbqk.png

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

                                      @WrCombs said in Salt Minion Problems:

                                      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 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 2 / 7
                                            • First post
                                              Last post