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/Of6OF4l.png

      Installing Salt Minion on a VM

      I made myself root, changed directory into the correct directory.

      everything else ran correctly until the end where 'salt minion failed to run'

      F 1 Reply Last reply Reply Quote 1
      • F
        Francesco Provino @WrCombs
        last edited by

        @WrCombs I suggest you to change the hostnamw via hostnamectl.

        What is the output of systemctl status salt-minion?

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

          So after a full server reboot the salt-minion finally started but it is not properly registering its key to the master correct @WrCombs .

          F 1 Reply Last reply Reply Quote 1
          • F
            Francesco Provino @Romo
            last edited by

            @Romo said in Salt Minion Problems:

            So after a full server reboot the salt-minion finally started but it is not properly registering its key to the master correct @WrCombs .

            Maybe this happen when you clone an already registered instance.

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

              @Francesco-Provino the minion does have a long hostname but it is unique, also the master is properly named as salt and discoverable via dns.

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

                Heres the new problem, the master doesn't have a key to accept.

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

                  https://i.imgur.com/4p3zZIQ.png

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

                    My vms are all set, I'll run the installation to better help you troubleshoot this. Meanwhile lets try restarting the service

                    sudo service salt-minion restart
                    
                    WrCombsW 1 Reply Last reply Reply Quote 0
                    • RomoR
                      Romo
                      last edited by

                      And try checking the master again.

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

                        @Romo stil' nothing

                        https://i.imgur.com/4p3zZIQ.png

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

                          Is the minion looking to the right master?

                          WrCombsW 1 Reply Last reply Reply Quote 0
                          • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 1 / 7
                                            • First post
                                              Last post