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
gates / gates (push) Successful in 3m35s
This commit is contained in:
1 parent
d809a1d444
commit
26f4f7660c
8 files changed
+255
-4
No files matched your search
@@ -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
|
||||
|
||||
@@ -372,6 +372,7 @@ one info line beside `host_crash_restart`; `operatorOnlyEvents`, pinned by
|
||||
| Event | Severity | Raised when | Cleared | Pinned by |
|
||||
|---|---|---|---|---|
|
||||
| `tunnel_down` | error | the box's two newest host reports say the tunnel is `not_running` (more than one report cycle, 15 min) and the one before did not | the first `running` after it → `tunnel_recovered` (info) | `api/tunnel_test.go` |
|
||||
| `proxmox_trust_problem` | error (warning for „the root CA copy ends within 30 days”) | **[built, not deployed — hub `main` after v0.181.0]** the host report's `proxmox_trust` stanza names a cause (`03` §12a); once per (box, cause), not at every report | the first report with no problem → `proxmox_trust_ok` (info), one for all causes | `api/proxmox_trust_test.go` |
|
||||
| `os_update_stale` | warning | no successful OS leg for **7 days** while the switch is ON (agents that can run the leg only); the mail names the likely reason (box not reporting / the last leg's failure / no good night backup) | a successful leg | `TestAlarm_StaleLeg`, `TestAlarm_StaleNamesTheReason` |
|
||||
| `os_reboot_needed` | warning | the host has needed a reboot for **14 days** (from the FIRST scanned report that said so) | a scanned pass that finds nothing (agent ≥ 0.141.1 scans the host every pass) | `TestAlarm_RebootNeeded`, `TestRebootNeeded_ClearedByAScannedPass` |
|
||||
| `os_ring0_stalled` | error | ring 0 approved nothing for **7 days** in a layer while it has pending FAST-lane updates (a pending kernel does not count) | a new release | `TestAlarm_Ring0Stalled` |
|
||||
|
||||
Reference in new issue
Block a user