feat: run a per-run OpenBao for failure checks, bench, CI and driver stands

Every stand with its own storages now brings up its own OpenBao and acts
as its operator: materials live in the run's temporary directory and are
removed on any outcome; the working stand's OpenBao is never touched.

- make failure_checks: own OpenBao, 20 s / 60 s token roles, six new
  OpenBao fault checks, hook actions and the secrets log summary
- bao.py rewrite and waiting for the active node after unseal
- bench/: OpenBao in every fresh stand, "before" variants get secrets
  via ${...} references, passport stand.secrets and limits.openbao
- CI job: BAO_ADDRESS, run OpenBao operator, override with openbao,
  cleaner and migrate pairs, test_ci_override.py
- driver: shared temporary stand for freeze-lb and reconcile-signal

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-26 18:21:57 +03:00
co-authored by Claude Opus 5.5
parent 40cc91b346
commit 6353889349
28 changed files with 2860 additions and 200 deletions
+5 -1
View File
@@ -250,7 +250,11 @@ BAO_OUT_PORT ?= 8200
BAO_PROJECT ?= $(or $(COMPOSE_PROJECT_NAME),mtusi-lab7)
BAO_OPERATOR_DIR ?= $(PKI_OPERATOR_DIR)/openbao/$(BAO_PROJECT)
export BAO_OPERATOR_DIR
BAO = $(PYTHON) infra/openbao/bao.py --address https://localhost:$(BAO_OUT_PORT) --project $(BAO_PROJECT)
# адрес оператора: рабочий стенд и консоль — порт публикации на хосте; job CI
# (change openbao-tooling, design, решение 7) — https://openbao:8200 по сети
# стенда (порта на хосте раннера нет, SAN openbao)
BAO_ADDRESS ?= https://localhost:$(BAO_OUT_PORT)
BAO = $(PYTHON) infra/openbao/bao.py --address $(BAO_ADDRESS) --project $(BAO_PROJECT)
# init неинициализированного OpenBao (5 долей, порог 3) и unseal ими;
# инициализированный — «already initialized», ничего не меняется. Материалы