Pulse/pkg/proxmox
rcourtman a406fe42d8 Fix Proxmox 9.x RRD parameter incompatibility causing cluster health issues
Proxmox VE 9.x removed support for the 'ds' parameter in RRD endpoints
(/nodes/{node}/rrddata and /nodes/{node}/lxc/{vmid}/rrddata). When Pulse
sent RRD requests with ds=memused,memavailable,etc., Proxmox responded with:

  API error 400: {"errors":{"ds":"property is not defined in schema..."}}

This caused cluster nodes to be repeatedly marked unhealthy, which cascaded
into storage polling failures showing 'All cluster endpoints are unhealthy'
even though the nodes were actually healthy and reachable.

Changes:
- Added check in cluster_client.go executeWithFailover to recognize the ds
  parameter error as a capability issue rather than node health failure
- Nodes with this error no longer get marked unhealthy
- Storage polling and other operations now succeed even when RRD calls fail
- The RRD data will be unavailable but core monitoring continues

This fix maintains backward compatibility with older Proxmox versions while
gracefully handling the API change in Proxmox 9.x.
2025-11-08 12:06:08 +00:00
..
ceph.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
client.go Fix Windows VM disk accumulation bug by normalizing drive letters 2025-11-07 12:27:11 +00:00
client_test.go Add replication monitoring plumbing and UI 2025-10-22 16:10:15 +00:00
cluster_client.go Fix Proxmox 9.x RRD parameter incompatibility causing cluster health issues 2025-11-08 12:06:08 +00:00
cluster_client_test.go security: complete Phase 1 sensor proxy hardening 2025-10-20 15:13:37 +00:00
replication.go Add replication monitoring plumbing and UI 2025-10-22 16:10:15 +00:00
zfs.go Fix false ZFS log/cache warnings 2025-10-14 20:57:43 +00:00
zfs_test.go Expand monitoring and discovery test coverage 2025-10-16 08:17:08 +00:00