"salt --subset=n" appears to always choose the same nodes #20575
Labels
Bug
broken, incorrect, or confusing behavior
Core
relates to code central or existential to Salt
fixed-pls-verify
fix is linked, bug author to confirm fix
P1
Priority 1
severity-low
4th level, cosemtic problems, work around exists
Milestone
I have the following cronjob on my salt-master:
* * * * * /usr/bin/salt --subset=1 '*' state.highstate >> /var/log/salt/cron.log
If I check cron.log, I see that highstate is running on the same node every time. This node happens to be both the node most recently added and the last alphabetically, web2.example.com. The results are the same at the command line:
Going to --subset=2 the results are a little better, but web2 always returns, and the distribution is otherwise a bit suspicious:
---subset=3 introduces a fourth node into the mix, but the distribution isn't any better:
There are more than four nodes available:
I'm running on Debian Wheezy.
The text was updated successfully, but these errors were encountered: