forked from mtusi2026/mtusi2026lab7
fix: address openbao-secrets verify findings
bao_check now compares cert auth roles and policies in OpenBao with the repository and tries every foreign identity against every role and without a role name; API and migrations exit with code 2 on invalid settings; stop-at-start runs its attempts next to the stand's OpenBao again; openbao-outage checks the exit code, the record and the restart; run_docker restarts only services started before seed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -271,6 +271,10 @@ store is unavailable» (`waited_seconds`) — код 1; `error` «Secrets store
|
||||
OpenBao в записях нет (тексты исключений клиента — класс, статус и путь). Записи загрузки — до
|
||||
старта телеметрии: только stdout (в Loki — записи продления и возврата, если телеметрия
|
||||
включена). Журнал аудита OpenBao — stdout контейнера `openbao`, токены и значения в нём — HMAC.
|
||||
Неверные настройки (в том числе адрес OpenBao `http://…`) — у API «Invalid API settings» (модуль
|
||||
`startup`), у миграций «Invalid migration settings» (`migrations`) мимо structlog
|
||||
(`early_stop.write_settings_error`: `loc` и `msg` без значений) и код 2, как «Invalid worker
|
||||
settings»; до правок verify W2 у них был traceback pydantic и код 1.
|
||||
|
||||
## Журнал уборщика (с лабы 4)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user