fix: address rotation-revocation narrow verify findings

Name restarting both the LB and the replicas when the LB has no ready
replica, state the measured 25 s bound of the LB metrics port, narrow the
missing files of a held identity to its certificate, and cover refusals
and signals during CRL issue with fast tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 17:45:36 +03:00
co-authored by Claude Opus 5.5
parent 10973231a0
commit 452c5953b8
17 changed files with 220 additions and 38 deletions
+2 -2
View File
@@ -1089,8 +1089,8 @@ make pki_status # сроки и identity с действ
- API отвечает 503, реплики `Restarting`, а `run_docker` — 0: отозвана `api-client` — `make rotate_leaf
IDENTITY=api-client`. `held <имя>: compose cannot start without its files` (команды — «no files of the revoked …»)
— `.pki/stand` создан заново: шаги из вывода по порядку (`infra/pki/pki.sh rotate <имя>` …, `make stop`, `make
bao_unseal`, `make run_docker`, `make pki_renew`). LB 503 после `pki_revoke IDENTITY=api`, а `run_docker` — 0: `docker
compose restart api`.
bao_unseal`, `make run_docker`, `make pki_renew`). LB 503 после `pki_revoke` для `api` или `haproxy`, а
`run_docker` — 0: `docker compose restart haproxy api`.
- Правка `infra/haproxy/haproxy.cfg` или `infra/s3/security.toml` на работающем стенде — `docker compose restart
haproxy` / `s3`: bind mount файла держит прежний.
- Правка `infra/rabbitmq/start.sh` на работающем стенде рвёт bind mount: `rotation.py` отвечает кодом 2 «the