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:
@@ -316,7 +316,17 @@ TLS и до клиентов хранилищ, входит в OpenBao серт
|
||||
`FAULT_ARGS` — аргументы pytest (`make failure_checks FAULT_ARGS='-k
|
||||
valkey'`). Скрипт тоже запускается `$(PYTHON)`. Все команды docker
|
||||
проекта отказов — только с `-p <рабочий>-failures`: `down -v` без
|
||||
него удалил бы рабочий volume.
|
||||
него удалил бы рабочий volume. С change `openbao-tooling` — и свой
|
||||
OpenBao прогона (от `bao_ready` цель тоже не зависит): оператор —
|
||||
сам скрипт (`bao.py ready` с явными адресом и каталогом материалов
|
||||
внутри PKI прогона; экспорт `BAO_OPERATOR_DIR` Makefile скрипт
|
||||
заменяет своим); `FAULT_BAO_TOKEN_TTL` / `FAULT_BAO_TOKEN_MAX_TTL`
|
||||
окружения команды — сроки ролей прогона (по умолчанию 20s / 60s,
|
||||
другие — только контроль сводки секретов, `student-tests.md`).
|
||||
- `BAO_ADDRESS ?= https://localhost:$(BAO_OUT_PORT)` — адрес оператора
|
||||
`make bao_*` и `run_docker` (с change `openbao-tooling`): рабочий
|
||||
стенд и консоль — порт публикации, job CI — `https://openbao:8200` по
|
||||
сети стенда (переменная окружения job сильнее `?=`).
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
|
||||
Reference in New Issue
Block a user