docs: record M4 security checks and scan triage

This commit is contained in:
2026-12-03 20:10:50 +03:00
parent ee28cd7dbd
commit 4e1af89170
9 changed files with 1757 additions and 1 deletions
+459
View File
@@ -376,3 +376,462 @@ $ make failure-checks FAULT_ARGS=-rP
========== 55 passed, 641 deselected, 1 warning in 630.21s (0:10:30) ===========
[failures] results: {'fault': 0, 'postgres-permissions': 0, 'secrets-log': 0}
# На машине замеров — повтор make rotation-check и CONTROL=skip-crl (промпт Codex).
# --- Повтор на машине замеров ---
# Дата: 2026-12-03 UTC. MacBook Air M4, macOS 26.6.2 (25G83), arm64,
# Docker 28.0.4, ВМ 10 CPU / 10419826688 байт (9,70 ГиБ), Compose 5.6.1,
# Python хоста / .venv 3.13.7; образ приложения Python 3.13.18.
# Стенд: vladimirceva-lab7, https://localhost:8443; две реплики, телеметрия включена.
# Код: исходный commit ee28cd7; правки рабочего дерева — разбор CVE и документы.
# src_sha256: 813f5a036bed303920f288ee801be991627a90f9a2955ebd8014b3e8363e6c62.
# Пины, конфигурации проекта, бизнес-код и пороги не менялись; seccomp daemon builtin.
# Материалы оператора читали только разрешённые штатные команды; значений в выводе нет.
# Домашний каталог — <home>, временный — <tmp>. Прежние прогоны — история.
# Перед учениями: питание AC, Low Power Mode 0, caffeinate; load average < 4.
$ make rotation-check
python3 scripts/lab7.py --ca-file "<home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/ca.crt" rotation-check --base-url "https://localhost:8443"
== rotate-leaf ingress
[ 1.5 s] phase: issue
[ 1.6 s] rotated ingress: serial 01C7658D53DD6029E64E8620FB543D6A -> 01C7658D53DD6029E64E8620FB543DAA; the previous leaf is not revoked yet
[ 1.6 s] phase: owner
[ 1.9 s] haproxy: pair ingress 01C7658D53DD6029E64E8620FB543DAA
[ 2.0 s] phase: revoke previous
[ 2.0 s] revoked ingress: serial 01C7658D53DD6029E64E8620FB543D6A
[ 2.0 s] phase: CRL
[ 2.0 s] ingress: serial 01C7658D53DD6029E64E8620FB543DAA in use
[ 2.0 s] done
PASS ingress: the LB presents the new leaf: 01C7658D53DD6029E64E8620FB543D6A -> 01C7658D53DD6029E64E8620FB543DAA
PASS load during rotate-leaf ingress: every stream made requests: 94 requests
PASS load during rotate-leaf ingress: unsuccessful requests after retry: 0 (first attempts failed 0, longest gap without a success 0.1 s)
PASS haproxy: previous pair accepted by replicas before: HTTP 200 TLSv1.3,HTTP 200 TLSv1.3
== rotate-leaf haproxy
[ 3.5 s] phase: issue
[ 3.6 s] rotated haproxy: serial 01C7658D53DD6029E64E8620FB543D68 -> 01C7658D53DD6029E64E8620FB543DAB; the previous leaf is not revoked yet
[ 3.6 s] phase: owner
[ 3.9 s] haproxy: pair haproxy 01C7658D53DD6029E64E8620FB543DAB
[ 4.0 s] phase: revoke previous
[ 4.1 s] revoked haproxy: serial 01C7658D53DD6029E64E8620FB543D68
[ 4.1 s] phase: CRL
[ 13.0 s] api: done: 2 replicas d3875e9846c6 2d824ad801ed UP in 8s
[ 13.0 s] api: new CRL applied
[ 13.0 s] haproxy: serial 01C7658D53DD6029E64E8620FB543DAB in use
[ 13.0 s] done
PASS haproxy: previous pair refused by every replica: no HTTP (closed: closed after handshake),no HTTP (closed: closed after handshake)
PASS haproxy: new pair accepted: HTTP 200 TLSv1.3,HTTP 200 TLSv1.3
PASS load during rotate-leaf haproxy: every stream made requests: 798 requests
PASS load during rotate-leaf haproxy: unsuccessful requests after retry: 0 (first attempts failed 0, longest gap without a success 0.1 s)
== rotate-secret s3/api
[ 3.3 s] phase: .env
[ 3.3 s] new value written to .env: S3_API_ACCESS_KEY, S3_API_SECRET_KEY
[ 3.3 s] phase: storage
[ 7.1 s] s3-bootstrap: both keys are valid
[ 7.1 s] phase: seed
[ 7.3 s] openbao: messenger/s3/api version 2
[ 7.3 s] phase: processes
[ 14.6 s] api: done: 2 replicas 3276f853fce0 27b70affac36 UP in 6s
[ 14.7 s] api: loaded s3/api version 2
[ 14.7 s] phase: remove previous
[ 17.9 s] s3-bootstrap: done
[ 17.9 s] phase: verify
[ 18.6 s] s3/api: previous value refused (InvalidAccessKeyId), new accepted
[ 18.6 s] s3/api: version 2, services api; window between the refusal of the previous value and the last replaced process: 0 s (both keys were valid until the processes moved); total 18.6 s
[ 18.6 s] done
PASS rotate-secret s3/api: exit 0
PASS load during rotate-secret s3/api: every stream made requests: 830 requests
PASS load during rotate-secret s3/api: unsuccessful requests after retry: 0 (first attempts failed 0, longest gap without a success 0.1 s)
== rotate-secret postgres/api
[ 3.2 s] phase: .env
[ 3.2 s] new value written to .env: POSTGRES_API_PASSWORD
[ 3.2 s] phase: seed
[ 3.4 s] openbao: messenger/postgres/api version 2
[ 3.4 s] phase: storage
[ 4.9 s] postgres-bootstrap: done
[ 5.1 s] phase: processes
[ 13.9 s] api: done: 2 replicas fcc76e9c76cc bbb0f03b20f7 UP in 8s
[ 14.1 s] api: loaded postgres/api version 2
[ 14.1 s] phase: sessions
[ 14.2 s] postgres: sessions of role api and logins older than the change closed: 0, left: 0
[ 14.2 s] phase: verify
[ 14.7 s] postgres/api: previous value refused (28P01), new accepted
[ 14.7 s] postgres/api: version 2, services api; window between the refusal of the previous value and the last replaced process: at most 10.6 s; total 14.7 s
[ 14.7 s] done
PASS rotate-secret postgres/api: exit 0
PASS load during rotate-secret postgres/api: every stream made requests: 654 requests
PASS load during rotate-secret postgres/api: unsuccessful requests after retry: 0 (first attempts failed 1, longest gap without a success 0.1 s)
== bao-seal; rotate-secret s3/api; bao-unseal
sealed OpenBao: run make bao-unseal to unseal
rotation: OpenBao is sealed: run make bao-unseal; nothing changed
unsealed OpenBao with 3 shares
PASS sealed OpenBao: rotate-secret refused before any change: exit 2
PASS .env and KV versions unchanged by the refused rotation
PASS load during sealed OpenBao: every stream made requests: 209 requests
PASS load during sealed OpenBao: unsuccessful requests after retry: 0 (first attempts failed 0, longest gap without a success 0.1 s)
PASS relay: AMQP login with the stolen pair before: open
PASS relay: OpenBao token of the stolen pair reads before: login 200
== revoke-identity relay
[ 1.5 s] phase: revoke
[ 1.6 s] revoked relay: serial 01C7658D53DD6029E64E8620FB543D6F
[ 1.6 s] phase: CRL
[ 1.7 s] openbao: new CRL applied
[ 1.8 s] openbao: role relay: revoked 2 tokens
[ 2.0 s] rabbitmq: new CRL applied
[ 3.3 s] rabbitmq: connections of relay closed: 2
[ 9.7 s] otel-gateway: restarted in 6.4 s
[ 9.7 s] otel-gateway: new CRL applied
[ 9.7 s] phase: late connections
[ 20.6 s] rabbitmq: connections begun before the CRL and opened after it, closed: 1
[ 20.6 s] relay is revoked; seconds from the start to the new CRL: openbao 1.7 s, rabbitmq 2.0 s, otel-gateway 9.7 s
[ 20.6 s] secrets issued to it are still valid; a compromised process: make rotate-secret SECRET=postgres/relay
[ 20.6 s] no new leaf until the operator returns the service: make rotate-leaf IDENTITY=relay
[ 20.6 s] done
PASS revoke-identity relay: exit 0
PASS relay: live AMQP connection closed by the revocation
PASS relay: new AMQP login with the revoked pair refused: refused: SSLError SSLV3_ALERT_CERTIFICATE_REVOKED
PASS relay: OpenBao token issued before the revocation: read 403
PASS relay: OpenBao login with the revoked pair refused: 400
PASS upload while relay is revoked: 202 queued: 202
PASS load during revoke-identity relay: every stream made requests: 895 requests
PASS load during revoke-identity relay: unsuccessful requests after retry: 0 (first attempts failed 0, longest gap without a success 0.1 s)
issued rotation-expiry (client, SAN rotation-expiry): serial 01C7658D53DD6029E64E8620FB543DAC, not after 2026-12-03 16:57:09Z, sha256 14:6D:E7:FE:C9:36:4D:A7:4E:5C:B0:00:2C:4B:4F:6A:F7:68:AD:EC:7E:11:E3:49:F5:38:A7:82:90:AB:B9:A5, <tmp>/vladimirceva-rotation-won3kwq7/rotation-expiry.crt
PASS expiry: broker and OpenBao accept the leaf before its end: accepted, accepted
PASS expiry: broker and OpenBao refuse it after: refused (SSLV3_ALERT_CERTIFICATE_EXPIRED), refused (SSLV3_ALERT_CERTIFICATE_EXPIRED)
== rotate-leaf relay
[ 1.8 s] phase: issue
[ 1.8 s] rotated relay: serial 01C7658D53DD6029E64E8620FB543D6F -> 01C7658D53DD6029E64E8620FB543DAD; the previous leaf is not revoked yet
[ 1.8 s] phase: owner
[ 6.5 s] relay: restarted in 4.7 s
[ 6.6 s] phase: revoke previous
[ 6.6 s] relay: only the stand leaf is valid; nothing to revoke
[ 6.6 s] phase: CRL
[ 6.8 s] openbao: new CRL applied
[ 6.9 s] openbao: role relay: revoked 0 tokens, kept 1
[ 7.1 s] rabbitmq: new CRL applied
[ 7.7 s] rabbitmq: connections of relay closed: 0
[ 14.8 s] otel-gateway: restarted in 7.2 s
[ 14.8 s] otel-gateway: new CRL applied
[ 14.8 s] phase: late connections
[ 24.7 s] rabbitmq: connections begun before the CRL and opened after it, closed: 0
[ 24.7 s] relay: serial 01C7658D53DD6029E64E8620FB543DAD in use
[ 24.7 s] done
PASS rotate-leaf relay: exit 0
PASS upload accepted while relay was revoked: ready: ready
PASS relay: stolen pair still refused after the return: refused: SSLError SSLV3_ALERT_CERTIFICATE_REVOKED
PASS load during rotate-leaf relay: every stream made requests: 1086 requests
PASS load during rotate-leaf relay: unsuccessful requests after retry: 0 (first attempts failed 0, longest gap without a success 0.1 s)
PASS load during the whole drill: every stream made requests: 5982 requests
PASS load during the whole drill: unsuccessful requests after retry: 0 (first attempts failed 1, longest gap without a success 1.0 s)
PASS every confirmed message exactly once: 4687 confirmed, 0 lost or doubled
PASS every accepted upload ready with the same SHA-256: 68 uploads, 0 bad
PASS containers run the same images as before (no build)
PASS pki-status: no revoked stand leaf, no previous valid leaf: revoked -, older -
rotation-check: PASS (41/41 checks, 142 s)
# Код make: 0; начало 2026-12-03T16:55:17Z; конец 2026-12-03T16:57:41Z.
# Начало UTC: 2026-12-03T16:58:47.240115+00:00; время команды 185.626 с.
$ make rotation-check CONTROL=skip-crl
python3 scripts/lab7.py --ca-file "<home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/ca.crt" rotation-check --base-url "https://localhost:8443" --control skip-crl
== rotate-leaf ingress
[ 1.6 s] phase: issue
[ 1.7 s] rotated ingress: serial 01C7658D53DD6029E64E8620FB543DAA -> 01C7658D53DD6029E64E8620FB543DAE; the previous leaf is not revoked yet
[ 1.7 s] phase: owner
[ 2.1 s] haproxy: pair ingress 01C7658D53DD6029E64E8620FB543DAE
[ 2.2 s] phase: revoke previous
[ 2.3 s] revoked ingress: serial 01C7658D53DD6029E64E8620FB543DAA
[ 2.3 s] phase: CRL
[ 2.3 s] ingress: serial 01C7658D53DD6029E64E8620FB543DAE in use
[ 2.3 s] done
PASS ingress: the LB presents the new leaf: 01C7658D53DD6029E64E8620FB543DAA -> 01C7658D53DD6029E64E8620FB543DAE
PASS load during rotate-leaf ingress: every stream made requests: 102 requests
PASS load during rotate-leaf ingress: unsuccessful requests after retry: 0 (first attempts failed 0, longest gap without a success 0.1 s)
PASS haproxy: previous pair accepted by replicas before: HTTP 200 TLSv1.3,HTTP 200 TLSv1.3
== rotate-leaf haproxy
[ 3.3 s] phase: issue
[ 3.4 s] rotated haproxy: serial 01C7658D53DD6029E64E8620FB543DAB -> 01C7658D53DD6029E64E8620FB543DAF; the previous leaf is not revoked yet
[ 3.4 s] phase: owner
[ 3.7 s] haproxy: pair haproxy 01C7658D53DD6029E64E8620FB543DAF
[ 3.8 s] phase: revoke previous
[ 3.9 s] revoked haproxy: serial 01C7658D53DD6029E64E8620FB543DAB
[ 3.9 s] phase: CRL
[ 21.5 s] api: done: 2 replicas d1c1695d6176 c42b8caa1491 UP in 17s
[ 21.5 s] api: new CRL applied
[ 21.5 s] haproxy: serial 01C7658D53DD6029E64E8620FB543DAF in use
[ 21.5 s] done
PASS haproxy: previous pair refused by every replica: no HTTP (closed: closed after handshake),no HTTP (closed: closed after handshake)
PASS haproxy: new pair accepted: HTTP 200 TLSv1.3,HTTP 200 TLSv1.3
PASS load during rotate-leaf haproxy: every stream made requests: 1118 requests
PASS load during rotate-leaf haproxy: unsuccessful requests after retry: 0 (first attempts failed 0, longest gap without a success 0.2 s)
== rotate-secret s3/api
[ 3.7 s] phase: .env
[ 3.7 s] new value written to .env: S3_API_ACCESS_KEY, S3_API_SECRET_KEY
[ 3.7 s] phase: storage
[ 7.4 s] s3-bootstrap: both keys are valid
[ 7.4 s] phase: seed
[ 7.6 s] openbao: messenger/s3/api version 3
[ 7.6 s] phase: processes
[ 18.6 s] api: done: 2 replicas f0e11afccc86 d972d5648119 UP in 10s
[ 18.7 s] api: loaded s3/api version 3
[ 18.7 s] phase: remove previous
[ 22.5 s] s3-bootstrap: done
[ 22.5 s] phase: verify
[ 23.3 s] s3/api: previous value refused (InvalidAccessKeyId), new accepted
[ 23.3 s] s3/api: version 3, services api; window between the refusal of the previous value and the last replaced process: 0 s (both keys were valid until the processes moved); total 23.3 s
[ 23.3 s] done
PASS rotate-secret s3/api: exit 0
PASS load during rotate-secret s3/api: every stream made requests: 997 requests
PASS load during rotate-secret s3/api: unsuccessful requests after retry: 0 (first attempts failed 0, longest gap without a success 0.3 s)
== rotate-secret postgres/api
[ 3.5 s] phase: .env
[ 3.5 s] new value written to .env: POSTGRES_API_PASSWORD
[ 3.5 s] phase: seed
[ 3.7 s] openbao: messenger/postgres/api version 3
[ 3.7 s] phase: storage
[ 5.1 s] postgres-bootstrap: done
[ 5.2 s] phase: processes
[ 14.8 s] api: done: 2 replicas a74e3c5fc923 7ccc8703a51d UP in 9s
[ 14.9 s] api: loaded postgres/api version 3
[ 14.9 s] phase: sessions
[ 15.0 s] postgres: sessions of role api and logins older than the change closed: 0, left: 0
[ 15.0 s] phase: verify
[ 15.7 s] postgres/api: previous value refused (28P01), new accepted
[ 15.7 s] postgres/api: version 3, services api; window between the refusal of the previous value and the last replaced process: at most 11.3 s; total 15.7 s
[ 15.7 s] done
PASS rotate-secret postgres/api: exit 0
PASS load during rotate-secret postgres/api: every stream made requests: 700 requests
PASS load during rotate-secret postgres/api: unsuccessful requests after retry: 0 (first attempts failed 0, longest gap without a success 0.1 s)
== bao-seal; rotate-secret s3/api; bao-unseal
sealed OpenBao: run make bao-unseal to unseal
rotation: OpenBao is sealed: run make bao-unseal; nothing changed
unsealed OpenBao with 3 shares
PASS sealed OpenBao: rotate-secret refused before any change: exit 2
PASS .env and KV versions unchanged by the refused rotation
PASS load during sealed OpenBao: every stream made requests: 173 requests
PASS load during sealed OpenBao: unsuccessful requests after retry: 0 (first attempts failed 0, longest gap without a success 0.1 s)
PASS relay: AMQP login with the stolen pair before: open
PASS relay: OpenBao token of the stolen pair reads before: login 200
== CONTROL skip-crl: pki.sh revoke relay (files only)
revoked relay: serial 01C7658D53DD6029E64E8620FB543DAD
CRL: next update 2027-01-02 17:00:07Z, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/crl.pem
the running stand still accepts this leaf: make revoke-identity IDENTITY=relay
PASS revoke-identity relay: exit 0
FAIL relay: live AMQP connection closed by the revocation
FAIL relay: new AMQP login with the revoked pair refused: open
FAIL relay: OpenBao token issued before the revocation: read 200
FAIL relay: OpenBao login with the revoked pair refused: 200
PASS upload while relay is revoked: 202 queued: 202
PASS load during revoke-identity relay: every stream made requests: 860 requests
PASS load during revoke-identity relay: unsuccessful requests after retry: 0 (first attempts failed 0, longest gap without a success 0.1 s)
== CONTROL: applying the revocation to converge the stand
[ 1.9 s] phase: revoke
[ 1.9 s] relay: no valid leaf, applying the current CRL
[ 1.9 s] phase: CRL
[ 2.1 s] openbao: new CRL applied
[ 2.2 s] openbao: role relay: revoked 3 tokens
[ 2.3 s] rabbitmq: new CRL applied
[ 3.3 s] rabbitmq: connections of relay closed: 2
[ 9.2 s] otel-gateway: restarted in 5.9 s
[ 9.2 s] otel-gateway: new CRL applied
[ 9.2 s] phase: late connections
[ 21.3 s] rabbitmq: connections begun before the CRL and opened after it, closed: 1
[ 21.3 s] relay is revoked; seconds from the start to the new CRL: openbao 2.1 s, rabbitmq 2.3 s, otel-gateway 9.2 s
[ 21.3 s] secrets issued to it are still valid; a compromised process: make rotate-secret SECRET=postgres/relay
[ 21.3 s] no new leaf until the operator returns the service: make rotate-leaf IDENTITY=relay
[ 21.3 s] done
issued rotation-expiry (client, SAN rotation-expiry): serial 01C7658D53DD6029E64E8620FB543DB0, not after 2026-12-03 17:01:13Z, sha256 04:5E:24:32:4D:91:1E:44:03:18:21:ED:15:AD:2D:40:DE:78:EC:71:E9:12:D7:47:DE:FE:56:F6:85:E0:58:03, <tmp>/vladimirceva-rotation-ubps5s5l/rotation-expiry.crt
PASS expiry: broker and OpenBao accept the leaf before its end: accepted, accepted
PASS expiry: broker and OpenBao refuse it after: refused (SSLV3_ALERT_CERTIFICATE_EXPIRED), refused (SSLV3_ALERT_CERTIFICATE_EXPIRED)
== rotate-leaf relay
[ 2.1 s] phase: issue
[ 2.2 s] rotated relay: serial 01C7658D53DD6029E64E8620FB543DAD -> 01C7658D53DD6029E64E8620FB543DB1; the previous leaf is not revoked yet
[ 2.2 s] phase: owner
[ 7.3 s] relay: restarted in 5.1 s
[ 7.4 s] phase: revoke previous
[ 7.4 s] relay: only the stand leaf is valid; nothing to revoke
[ 7.5 s] phase: CRL
[ 7.7 s] openbao: new CRL applied
[ 7.9 s] openbao: role relay: revoked 0 tokens, kept 1
[ 8.1 s] rabbitmq: new CRL applied
[ 9.0 s] rabbitmq: connections of relay closed: 0
[ 15.2 s] otel-gateway: restarted in 6.3 s
[ 15.2 s] otel-gateway: new CRL applied
[ 15.2 s] phase: late connections
[ 26.1 s] rabbitmq: connections begun before the CRL and opened after it, closed: 0
[ 26.1 s] relay: serial 01C7658D53DD6029E64E8620FB543DB1 in use
[ 26.1 s] done
PASS rotate-leaf relay: exit 0
PASS upload accepted while relay was revoked: ready: ready
PASS relay: stolen pair still refused after the return: refused: SSLError SSLV3_ALERT_CERTIFICATE_REVOKED
PASS load during rotate-leaf relay: every stream made requests: 1123 requests
PASS load during rotate-leaf relay: unsuccessful requests after retry: 0 (first attempts failed 0, longest gap without a success 0.1 s)
PASS load during the whole drill: every stream made requests: 7393 requests
PASS load during the whole drill: unsuccessful requests after retry: 0 (first attempts failed 0, longest gap without a success 1.9 s)
PASS every confirmed message exactly once: 5782 confirmed, 0 lost or doubled
PASS every accepted upload ready with the same SHA-256: 86 uploads, 0 bad
PASS containers run the same images as before (no build)
PASS pki-status: no revoked stand leaf, no previous valid leaf: revoked -, older -
rotation-check: FAIL (37/41 checks, 184 s)
make: *** [rotation-check] Error 1
# Код make: 2.
# Начало UTC: 2026-12-03T17:01:52.867135+00:00; время команды 25.278 с.
$ make rotate-leaf IDENTITY=worker
[ 2.1 s] phase: issue
[ 2.2 s] rotated worker: serial 01C7658D53DD6029E64E8620FB543D70 -> 01C7658D53DD6029E64E8620FB543DB2; the previous leaf is not revoked yet
[ 2.2 s] phase: owner
[ 4.1 s] worker: restarted in 1.9 s
[ 4.2 s] phase: revoke previous
[ 4.3 s] revoked worker: serial 01C7658D53DD6029E64E8620FB543D70
[ 4.3 s] phase: CRL
[ 4.6 s] openbao: new CRL applied
[ 4.8 s] openbao: role worker: revoked 1 tokens, kept 1
[ 4.9 s] rabbitmq: new CRL applied
[ 5.6 s] rabbitmq: connections of worker closed: 0
[ 8.1 s] otel-gateway: restarted in 2.5 s
[ 8.1 s] otel-gateway: new CRL applied
[ 8.1 s] phase: late connections
[ 25.2 s] rabbitmq: connections begun before the CRL and opened after it, closed: 0
[ 25.2 s] worker: serial 01C7658D53DD6029E64E8620FB543DB2 in use
[ 25.2 s] done
# Код make: 0.
# Начало UTC: 2026-12-03T17:02:18.145911+00:00; время команды 1.878 с.
$ make revoke-identity IDENTITY=cleaner
[ 1.3 s] phase: revoke
[ 1.4 s] revoked cleaner: serial 01C7658D53DD6029E64E8620FB543D7B
[ 1.4 s] phase: CRL
[ 1.6 s] openbao: new CRL applied
[ 1.8 s] openbao: role cleaner: revoked 1 tokens
[ 1.8 s] cleaner is revoked; seconds from the start to the new CRL: openbao 1.6 s
[ 1.8 s] secrets issued to it are still valid; a compromised process: make rotate-secret SECRET=postgres/cleaner; make rotate-secret SECRET=s3/cleaner
[ 1.8 s] no new leaf until the operator returns the service: make rotate-leaf IDENTITY=cleaner
[ 1.8 s] done
# Код make: 0.
# Начало UTC: 2026-12-03T17:02:20.023897+00:00; время команды 6.045 с.
$ make rotate-leaf IDENTITY=cleaner
[ 1.4 s] phase: issue
[ 1.5 s] rotated cleaner: serial 01C7658D53DD6029E64E8620FB543D7B -> 01C7658D53DD6029E64E8620FB543DB3; the previous leaf is not revoked yet
[ 1.5 s] phase: owner
[ 5.6 s] cleaner: restarted in 4.1 s
[ 5.7 s] phase: revoke previous
[ 5.7 s] cleaner: only the stand leaf is valid; nothing to revoke
[ 5.7 s] phase: CRL
[ 5.8 s] openbao: new CRL applied
[ 6.0 s] openbao: role cleaner: revoked 0 tokens, kept 1
[ 6.0 s] cleaner: serial 01C7658D53DD6029E64E8620FB543DB3 in use
[ 6.0 s] done
# Код make: 0.
# Начало UTC: 2026-12-03T17:02:26.069775+00:00; время команды 23.49 с.
$ make rotate-secret SECRET=s3/api
[ 3.4 s] phase: .env
[ 3.4 s] new value written to .env: S3_API_ACCESS_KEY, S3_API_SECRET_KEY
[ 3.4 s] phase: storage
[ 6.6 s] s3-bootstrap: both keys are valid
[ 6.6 s] phase: seed
[ 6.8 s] openbao: messenger/s3/api version 4
[ 6.8 s] phase: processes
[ 18.7 s] api: done: 2 replicas 92d82b41fd2d 9adc5abcf585 UP in 11s
[ 18.8 s] api: loaded s3/api version 4
[ 18.8 s] phase: remove previous
[ 22.6 s] s3-bootstrap: done
[ 22.6 s] phase: verify
[ 23.4 s] s3/api: previous value refused (InvalidAccessKeyId), new accepted
[ 23.4 s] s3/api: version 4, services api; window between the refusal of the previous value and the last replaced process: 0 s (both keys were valid until the processes moved); total 23.4 s
[ 23.4 s] done
# Код make: 0.
# Начало UTC: 2026-12-03T17:02:49.561054+00:00; время команды 57.469 с.
$ make pki-renew
[ 4.1 s] phase: issue
[ 5.6 s] CRL: next update 2027-01-02 17:02:53Z, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/crl.pem
[ 8.1 s] phase: owners
[ 10.0 s] every owner already works with its stand leaf
[ 10.0 s] phase: revoke previous
[ 10.0 s] no previous leaf to revoke
[ 10.0 s] phase: CRL
[ 10.2 s] openbao: new CRL applied
[ 10.4 s] openbao: role api: revoked 0 tokens, kept 14
[ 10.5 s] openbao: role cleaner: revoked 0 tokens, kept 1
[ 10.6 s] openbao: role migrate: revoked 0 tokens, kept 0
[ 10.8 s] openbao: role relay: revoked 0 tokens, kept 1
[ 10.9 s] openbao: role worker: revoked 0 tokens, kept 1
[ 11.0 s] rabbitmq: new CRL applied
[ 11.5 s] rabbitmq: connections of relay closed: 0
[ 12.1 s] rabbitmq: connections of worker closed: 0
[ 12.4 s] haproxy: new CRL applied
[ 14.7 s] otel-gateway: restarted in 2.3 s
[ 14.7 s] otel-gateway: new CRL applied
[ 18.0 s] loki-gateway: restarted in 3.3 s
[ 18.0 s] loki-gateway: new CRL applied
[ 30.7 s] tempo-gateway: restarted in 12.7 s
[ 30.7 s] tempo-gateway: new CRL applied
[ 35.3 s] prometheus-gateway: restarted in 4.5 s
[ 35.3 s] prometheus-gateway: new CRL applied
[ 39.6 s] relay: restarted in 4.3 s
[ 39.6 s] relay: new CRL applied
[ 41.1 s] worker: restarted in 1.5 s
[ 41.1 s] worker: new CRL applied
[ 45.7 s] cleaner: restarted in 4.6 s
[ 45.7 s] cleaner: new CRL applied
[ 56.4 s] api: done: 2 replicas 54b39a374f45 595b8ce103bf UP in 9s
[ 56.4 s] api: new CRL applied
[ 56.4 s] phase: late connections
[ 57.4 s] rabbitmq: connections begun before the CRL and opened after it, closed: 0
[ 57.4 s] new CRL applied: openbao 10.2 s, rabbitmq 11.0 s, haproxy 12.4 s, otel-gateway 14.7 s, loki-gateway 18.0 s, tempo-gateway 30.7 s, prometheus-gateway 35.3 s, relay 39.6 s, worker 41.1 s, cleaner 45.7 s, api 56.4 s
[ 57.4 s] done
# Код make: 0.
# Начало UTC: 2026-12-03T17:03:47.030855+00:00; время команды 1.271 с.
$ make pki-status
CA: not after 2029-12-01 20:43:51Z (1094 days, ok), sha256 89:34:CC:B0:90:61:A7:E7:31:69:DD:DB:03:7E:2B:40:06:B3:1A:D9:A0:86:A8:A8:15:60:0C:3E:07:37:9C:88, <home>/.config/vladimirceva-lab7/operator/ca.crt
leaf haproxy: serial 01C7658D53DD6029E64E8620FB543DAF, not after 2027-03-03 16:59:03Z (90 days, ok), sha256 92:21:E2:C2:2F:84:00:E6:E9:72:B9:7A:BE:36:A8:79:DF:E5:29:A0:80:FF:5A:5E:62:FD:07:C4:83:59:97:B5, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/haproxy.crt
leaf api: serial 01C7658D53DD6029E64E8620FB543D69, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 C1:33:86:BC:1B:AD:9D:5B:D9:F4:03:4E:53:2B:06:00:F7:94:45:39:2C:49:0D:A9:59:54:69:D6:64:03:18:69, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/api.crt
leaf ingress: serial 01C7658D53DD6029E64E8620FB543DAE, not after 2027-03-03 16:58:56Z (90 days, ok), sha256 32:B1:26:A1:B8:D1:0E:33:77:18:90:A5:E1:8B:B1:C3:7A:C1:B1:8A:4C:77:C7:F6:33:5E:C4:85:A2:F4:04:13, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/ingress.crt
leaf postgres: serial 01C7658D53DD6029E64E8620FB543D6B, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 D8:B9:26:F9:70:95:5B:48:13:0D:83:8A:B6:2D:0C:53:94:A4:85:71:89:0A:CE:7B:A8:F4:23:9B:F8:2A:29:A3, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/postgres.crt
leaf valkey: serial 01C7658D53DD6029E64E8620FB543D6C, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 5B:52:68:61:B1:5D:81:F3:31:33:4B:E8:1E:23:5A:65:E9:BB:91:B5:06:B7:CC:6D:12:66:F4:2A:C6:5C:01:22, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/valkey.crt
leaf s3: serial 01C7658D53DD6029E64E8620FB543D6D, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 02:49:45:14:D3:38:9F:F5:0B:00:B5:37:88:7C:E1:9E:31:9B:43:45:2D:54:BE:0D:C2:51:4B:5B:26:B6:C4:AA, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/s3.crt
leaf rabbitmq: serial 01C7658D53DD6029E64E8620FB543D6E, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 8E:CD:AB:69:5A:F7:67:78:43:1A:1B:37:80:20:CE:63:70:D4:20:E5:18:EE:61:F9:70:7F:D8:8D:F0:0F:27:C4, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/rabbitmq.crt
leaf relay: serial 01C7658D53DD6029E64E8620FB543DB1, not after 2027-03-03 17:01:18Z (90 days, ok), sha256 66:96:2E:B2:2E:8C:4F:1D:54:A2:F0:43:7B:4E:66:51:31:DA:5D:DE:1D:CF:0B:9B:5F:EF:CB:D2:94:FF:94:3C, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/relay.crt
leaf worker: serial 01C7658D53DD6029E64E8620FB543DB2, not after 2027-03-03 17:01:55Z (90 days, ok), sha256 C2:93:10:48:40:8C:43:BC:47:6D:F5:C0:2D:42:26:09:02:1F:26:31:E1:EA:86:08:0A:44:58:89:24:18:0B:87, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/worker.crt
leaf otel-collector: serial 01C7658D53DD6029E64E8620FB543D71, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 C4:AF:92:BB:3C:27:9C:66:2C:CE:42:04:F5:48:8B:1C:49:A4:EB:66:CB:94:73:A1:0A:D7:A7:D1:E7:42:FC:91, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/otel-collector.crt
leaf api-client: serial 01C7658D53DD6029E64E8620FB543D72, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 96:F8:4D:5A:2F:2E:D1:EE:6B:38:F2:4A:2C:18:86:B4:21:C1:A0:15:A8:E0:08:40:ED:E5:55:77:B7:7B:4D:7A, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/api-client.crt
leaf loki: serial 01C7658D53DD6029E64E8620FB543D73, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 52:8B:A7:81:D8:BE:AE:77:09:8C:DC:21:31:65:BD:BC:66:A8:A1:6B:FD:41:81:84:2F:54:64:7B:D8:32:3C:F9, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/loki.crt
leaf tempo: serial 01C7658D53DD6029E64E8620FB543D74, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 41:9B:BD:6F:C5:B5:BF:81:DB:28:A4:A7:01:42:39:1B:93:42:13:16:81:F0:85:26:03:5E:31:12:AF:05:4D:E0, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/tempo.crt
leaf prometheus: serial 01C7658D53DD6029E64E8620FB543D75, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 94:57:72:17:2E:4C:AE:0E:B4:51:81:B1:C9:BB:C7:19:75:F2:C7:59:4E:D5:DE:0E:72:FE:63:6E:AD:0C:B0:89, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/prometheus.crt
leaf grafana: serial 01C7658D53DD6029E64E8620FB543D76, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 D5:68:A2:21:F4:CD:B4:00:A2:70:28:D5:62:C5:17:C7:05:09:7C:0A:66:1D:26:4F:C4:C2:3A:F4:7D:1B:9F:98, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/grafana.crt
leaf otel-collector-client: serial 01C7658D53DD6029E64E8620FB543D77, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 AB:56:E3:A1:44:52:D9:86:37:9A:C6:3B:FD:B7:3A:F0:9F:0C:6B:54:F4:86:69:3C:E6:96:2D:85:2C:BA:9D:05, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/otel-collector-client.crt
leaf prometheus-client: serial 01C7658D53DD6029E64E8620FB543D78, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 6E:6C:E6:0B:CB:1E:B6:41:67:D0:FC:BA:BA:1A:C7:83:41:55:CC:D4:3B:4B:CF:E9:17:89:D7:55:26:3A:48:22, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/prometheus-client.crt
leaf grafana-client: serial 01C7658D53DD6029E64E8620FB543D79, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 83:41:2F:18:8B:A4:30:84:09:B5:17:EF:70:EA:DD:0C:4B:02:85:BA:E5:8C:FF:42:F1:0B:7F:25:A9:8D:1C:9A, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/grafana-client.crt
leaf openbao: serial 01C7658D53DD6029E64E8620FB543D7A, not after 2027-03-02 20:43:51Z (89 days, ok), sha256 2A:B9:6B:20:13:14:A5:FD:54:C1:5D:A5:65:4A:A2:C2:C4:5B:EA:DA:75:18:75:8A:72:30:80:84:06:7D:2C:AE, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/openbao.crt
leaf cleaner: serial 01C7658D53DD6029E64E8620FB543DB3, not after 2027-03-03 17:02:21Z (90 days, ok), sha256 0A:7E:E1:E5:31:F4:72:9A:F4:9F:47:3D:42:29:ED:E0:8A:41:B5:51:3A:22:E7:88:2A:FC:1D:F7:08:E5:62:AE, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/cleaner.crt
leaf migrate: serial 01C7658D53DD6029E64E8620FB543D7C, not after 2027-03-02 20:43:52Z (89 days, ok), sha256 A0:CE:87:74:90:72:00:EC:F6:7F:02:FC:D2:D4:57:D9:B5:EA:D0:F0:A6:F5:41:31:ED:E4:5F:CA:1A:E2:D6:69, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/migrate.crt
leaf bao-operator: serial 01C7658D53DD6029E64E8620FB543D7D, not after 2027-03-02 20:43:52Z (89 days, ok), sha256 0A:45:85:89:50:88:2E:14:69:D6:B6:69:B9:57:37:E3:13:A8:4A:D8:9E:1E:71:26:1E:30:29:72:47:58:C4:95, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/bao-operator.crt
older leaf broker-probe: 4 still valid and not revoked besides the stand leaf
older leaf mtls-probe: 4 still valid and not revoked besides the stand leaf
older leaf s3-grpc-denied: 6 still valid and not revoked besides the stand leaf
older leaf s3-grpc-probe: 6 still valid and not revoked besides the stand leaf
older leaf telemetry-probe: 12 still valid and not revoked besides the stand leaf
CRL: next update 2027-01-02 17:02:53Z (30 days, ok), revoked 20, <home>/Высоконагруженные/mtusi2026lab7-vladimirceva/.pki/stand/crl.pem
# Код make: 0.
# Начало UTC: 2026-12-03T17:03:48.302220+00:00; время команды 0.165 с.
$ make jobs-audit
class stuck_time 0
class attempt_number 0
class state_mismatch 0
class false_success 0
class future_updated_at 0
class verified_damaged 0
info failed_with_source 3
info ready_without_variants 0
damaged 0
# Код make: 0.
# Итог: 41/41, 142 с; 4687 подтверждённых сообщений без потерь/дублей,
# 68 вложений с тем же SHA-256; 0 неуспешных после повтора, 1 первая попытка
# неуспешна; наибольшее окно без успеха 1,0 с. skip-crl — ровно 4 FAIL,
# 37/41 за 184 с; код проверки 1 / make 2, стенд после контроля сведён.
# Отдельные ротации — код 0; pki-status без REVOKED/held identity стенда,
# jobs-audit damaged 0. --platform у Docker 28 нет: перед ротациями make up
# уже выполнен, тег рабочего образа затем не пересобирался.