UtahDave / salt-vagrant-demo

Demo of Salt in Vagrant. 1 master and 2 minions
Apache License 2.0
247 stars 192 forks source link

Only 1 minion can be ping(ed) sometimes #29

Closed tovin07 closed 8 years ago

tovin07 commented 8 years ago

After vagrant up, I ssh to the salt master and run: salt "*" test.ping, then I got this:

root@saltmaster:/srv/salt# salt "*" test.ping
minion1:
    True
minion2:
    Minion did not return. [No response]

I've tried this 20 times (restart, vagrant up, ssh to master, run test.ping), 2 minions return ping True only 2 times.

After vagrant up, my computer still have 3GB free of RAM, 50GB HDD free.

UtahDave commented 8 years ago

I'm having trouble reproducing this with the latest changes from the repo.

Can you try running this again after verifying you're using the very latest code from this repo? I just ran a test.ping 20 times and I got responses from both minions every time. We did make a couple changes yesterday that did improve the responsiveness of the salt master.

tovin07 commented 8 years ago

I cannot re-produce this issues today.

Thank you! 😃

h12w commented 8 years ago

I had the same issue too. Either minion1 or minion2 randomly failed to return. It seems to be related to "ubuntu/trusty64" because after I changed xxx.vm.box to "bento/centos-7.2" in Vagrantfile, it just works smoothly.