-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[BUG] Batch mode creates batches in a weird way #58246
Copy link
Copy link
Open
Labels
bugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviordocumentationRelates to Salt documentationRelates to Salt documentationseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around3rd level, incorrect or bad functionality, confusing and lacks a work aroundtime-estimate-single-day
Milestone
Metadata
Metadata
Assignees
Labels
bugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviordocumentationRelates to Salt documentationRelates to Salt documentationseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around3rd level, incorrect or bad functionality, confusing and lacks a work aroundtime-estimate-single-day
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.pingwill 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.)