[BUG] Batch mode creates batches in a weird way #58246
Labels
Bug
broken, incorrect, or confusing behavior
Documentation
Relates to Salt documentation
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
time-estimate-single-day
Milestone
Description
Salt has the ability to run something in batches. I noticed that:
Setup
I have a cluster with 33 minions - an odd number of minions could be important here.
Seems like it's only reproducible while doing
state.apply
, running something liketest.ping
will work just fine.The exception is the same as I reported here: #56273
Steps to Reproduce the behavior
I run something like:
And get this: https://gist.github.com/Oloremo/d1af8fef0410b2979584afa427fca555
Note that I removed all state output since it's irrelevant here.
Expected behavior
With 33 minions and batch 10 I'd expect to have 4 batches: 10, 10, 10, 3
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)The text was updated successfully, but these errors were encountered: