hub (unreleased): the operator is told why a box's agent does not trust Proxmox (proxmox_trust stanza → proxmox_trust_problem / _ok, operator-only; R-1396)
gates / gates (push) Successful in 3m35s

This commit is contained in:
admin committed 2026-11-14 16:52:00 +01:00
1 parent d809a1d444
commit 26f4f7660c
8 files changed
+255 -4

No files matched your search

+3 -2
View File
@@ -994,8 +994,9 @@ before, and the agent moves by itself later.
`ca_file_unreadable`, `name_mismatch`, and from the move: `ca_copy_unavailable`, `ca_copy_does_not_verify`,
`ca_copy_ends_soon` (30 days), `config_not_written`. Each is an ERROR line in the agent's journal and rides the host
report as the `proxmox_trust` stanza (`mode`, `problem`, `detail`, `ca_not_after`, `ca_days_left`, `moved_at`).
**Two gaps, both in R-1396:** the hub does not read the stanza yet (no operator alarm from it), and a box that is
fully blind sends no host report at all, so that case still reaches the operator only as „host stale".
**The hub reads the stanza** (hub `main` after v0.181.0, built, not deployed): one operator-only
`proxmox_trust_problem` per (box, cause), told once, and one `proxmox_trust_ok` at the recovery. **One gap, R-1396:**
a box that is fully blind sends no host report at all, so that case still reaches the operator only as „host stale".
**5. Both keys set.** The order in `proxmox.TLSConfig.build` is unchanged: skip-verify, then the fingerprint, then
`ca_file`, then the system's roots. **A set fingerprint wins over a CA file.** So: the move clears the fingerprint