From a5deee1444bfe54ca04f5281e395f50492936f26 Mon Sep 17 00:00:00 2001 From: Jorge Reyes <94730068+reyesj2@users.noreply.github.com> Date: Fri, 28 Aug 2026 16:27:29 -0500 Subject: [PATCH] fix salt batching command --- salt/manager/tools/sbin/soup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/manager/tools/sbin/soup b/salt/manager/tools/sbin/soup index eec561bd5..b1d8c416e 100755 --- a/salt/manager/tools/sbin/soup +++ b/salt/manager/tools/sbin/soup @@ -459,13 +459,13 @@ upgrade_searchnode_elasticsearch() { # Run the elasticsearch state across the true elastic cluster (non-heavy) with a retry attempt # Excludes the manager, so that kibana & elasticfleet are not upgraded until searchnodes are upgraded. echo "Getting ready to upgrade Elasticsearch across the grid. This may take a while..." - if salt -C "I@elasticsearch:enabled and not G@role:so-heavynode and not G@id:${MINIONID}" state.apply elasticsearch queue=True batch=10%; then + if salt -b 10% -C "I@elasticsearch:enabled and not G@role:so-heavynode and not G@id:${MINIONID}" state.apply elasticsearch queue=True; then return 0 fi echo "Initial elasticsearch state attempt had a problem; retrying in 30 seconds." sleep 30 - salt -C "I@elasticsearch:enabled and not G@role:so-heavynode and not G@id:${MINIONID}" state.apply elasticsearch queue=True batch=10% + salt -b 10% -C "I@elasticsearch:enabled and not G@role:so-heavynode and not G@id:${MINIONID}" state.apply elasticsearch queue=True } push_grid_highstate() {