diff --git a/show-status.sh b/show-status.sh index af190464..ef68d945 100755 --- a/show-status.sh +++ b/show-status.sh @@ -79,6 +79,16 @@ for pid in "${pids[@]}"; do wait "$pid" done +# Fenced nodes (fleet-state maintenance windows) are dropped from COMPOSE_FILE +# by rpc-update, so they never appear above even though their containers keep +# running. The .fenced marker is written by the same rpc-update task that +# fences them and is rewritten every reconcile (empty once windows expire). +if [ -s "$BASEPATH/.fenced" ]; then + echo "" + echo "Fenced (maintenance window - running but unmanaged, not checked above):" + sed 's/^/ /' "$BASEPATH/.fenced" +fi + # If any invocation failed, return a failure exit code if $any_failure; then exit 1