This commit is contained in:
reyesj2
2026-08-27 14:17:29 -05:00
parent cb8e576d6b
commit 85ab4c69e5
+2 -2
View File
@@ -455,7 +455,7 @@ highstate() {
salt-call state.highstate -l info queue=True
}
highstate_elastic() {
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..."
@@ -2136,7 +2136,7 @@ main() {
if [[ "$es_version" != "$target_es_version" ]]; then
if salt-key -L accepted | grep -q "_searchnode$" 2>/dev/null; then
# only run if there is atleast 1 searchnode
highstate_elastic
upgrade_searchnode_elasticsearch
fi
fi
set -e