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:
@@ -828,7 +828,8 @@ class Stand:
|
||||
"""Чем вернуть неготовый сервис: отозванный leaf — только заменой. LB
|
||||
без реплик: отозванную `api-client` — заменой; на отозванном или
|
||||
прежнем leaf `api` реплики работают, а LB их не принимает, и
|
||||
`rotate_leaf api` ждёт LB — их перезапускает оператор."""
|
||||
`rotate_leaf api` ждёт LB — их перезапускает оператор, и LB вместе с
|
||||
ними: его процесс может держать отозванный leaf `haproxy`."""
|
||||
for identity in sorted(self.revoked):
|
||||
if identity in LEAVES and (
|
||||
identity in ("haproxy", "api-client")
|
||||
@@ -839,7 +840,7 @@ class Stand:
|
||||
if service == "haproxy":
|
||||
return (
|
||||
"run make run_docker first; if the LB still has no ready "
|
||||
"replica: docker compose restart api"
|
||||
"replica: docker compose restart haproxy api"
|
||||
)
|
||||
return "run make run_docker first"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user