From c07dc9f720126dd3f36652de30cca8eb087b8f75 Mon Sep 17 00:00:00 2001 From: rob Date: Wed, 8 Jul 2026 13:06:13 +0000 Subject: [PATCH] show-status: footer listing fenced nodes (maintenance windows) Fenced nodes are dropped from COMPOSE_FILE so show-status silently omitted them - a fenced-but-running node looked 'gone'. rpc-update now writes /root/rpc/.fenced (node | until | reason | owner per active window); print it as a footer. Co-Authored-By: Claude Fable 5 --- show-status.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) 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