Commit graph

12 commits

Author SHA1 Message Date
rcourtman
3d214c80a7 Preserve guest NICs when only filtered addresses are reported (#1319) 2026-03-27 16:06:38 +00:00
rcourtman
3609fb676b Preserve named guest interfaces without MACs (#1319) 2026-03-27 15:25:52 +00:00
rcourtman
2a4432048a Continue guest-agent polling after transient status failures (#1319) 2026-03-27 14:50:28 +00:00
rcourtman
bce800e95d Retry incomplete guest network metadata sooner (#1319) 2026-03-27 11:41:56 +00:00
rcourtman
176228381b Preserve guest NIC identity before IP assignment (#1319) 2026-03-27 11:27:15 +00:00
rcourtman
2afde29a48 Retry partial guest metadata sooner (#1319) 2026-03-27 11:15:17 +00:00
rcourtman
d91f21b961 Preserve fresh guest metadata across transient agent misses (#1319) 2026-03-26 23:20:38 +00:00
rcourtman
6f9da1b70c Retry empty guest metadata sooner (#1319) 2026-03-26 21:03:51 +00:00
rcourtman
2196327769 Preserve VM guest metadata across transient agent gaps (#1319) 2026-03-26 00:12:19 +00:00
rcourtman
48f4438d23 Scale v5 Proxmox guest disk polling 2026-03-25 18:24:47 +00:00
rcourtman
ff1bbe2fb8 Guard per-VM guest agent calls with timeout and panic recovery (#1319)
A broken or hung qemu-agent on one VM could stall the entire polling
loop, preventing higher-VMID VMs from being detected. Wrap all guest
agent work in a 10s per-VM budget with panic recovery, and add a 2s
timeout to GetVMStatus in the efficient poller to match the legacy path.
2026-03-07 22:30:18 +00:00
rcourtman
4122fc6c9b refactor: Extract guest metadata functions to separate file
Move 17 guest-metadata-related functions from monitor.go to new
guest_metadata.go file. This includes:
- Guest agent API call retry logic
- Guest metadata caching (fetch, reserve, schedule, clear)
- Network interface processing and cloning
- OS info extraction
- Type conversion utilities (stringValue, anyToInt64)

Reduces monitor.go by 541 lines (8932 → 8391).
2025-12-01 10:53:41 +00:00