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



  • 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?



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



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



  • @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!