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

    Solved Salt - Can't Connect to Minions After Adding Them to Master

    IT Discussion
    salt stack salt master salt minion windows server linux
    2
    4
    1.0k
    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.
    • wrx7mW
      wrx7m
      last edited by

      I am able to add the minions and accept the key on the master. If I try to run any commands against my Windows servers, I get a time out. For instance

      salt FP01.domain.local test.ping
      FP01.ava.local:
          Minion did not return. [No response]
      ERROR: Minions returned with non-zero exit code
      
      

      However, it works on some windows desktops I am testing.

      The salt service is running and I have disabled the Windows firewall and the AV and it still won't work. Where should I go from here?

      1 Reply Last reply Reply Quote 0
      • black3dynamiteB
        black3dynamite
        last edited by

        I sometimes have to add --timeout 60 so I can see a response
        salt FP01.domain.local test.ping --timeout 60

        wrx7mW 2 Replies Last reply Reply Quote 1
        • wrx7mW
          wrx7m @black3dynamite
          last edited by

          @black3dynamite OK. I will try that. I also had a weird thing where I disabled the Windows firewall on a Server 2016 VM and it started working. I re-enabled the firewall, and it continued to work. I restarted the salt minion service and then it stopped responding to the ping.

          Server 2012 R2, disabled firewall and restarted salt minion service. No response.

          1 Reply Last reply Reply Quote 0
          • wrx7mW
            wrx7m @black3dynamite
            last edited by

            @black3dynamite said in Salt - Can't Connect to Minions After Adding Them to Master:

            I sometimes have to add --timeout 60 so I can see a response
            salt FP01.domain.local test.ping --timeout 60

            Seems to be working. I think that it was the firewall needing the exception AND using the

            --timeout 60
            

            Thanks!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post