Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Fix cluster degraded status not recovering after transient failures
rcourtman69de7c25ce7f
diff --git a/pkg/proxmox/cluster_client.go b/pkg/proxmox/cluster_client.goindex 8fb8cd315d..198806afe1 100644--- a/pkg/proxmox/cluster_client.go+++ b/pkg/proxmox/cluster_client.go@@ -401,10 +401,14 @@ func (cc *ClusterClient) markUnhealthyWithError(endpoint string, errMsg string)}// clearEndpointError removes any cached error for an endpoint after successful operations+// and marks the endpoint as healthy since the operation succeededfunc (cc *ClusterClient) clearEndpointError(endpoint string) {cc.mu.Lock()defer cc.mu.Unlock()delete(cc.lastError, endpoint)+ // Mark endpoint healthy since operation succeeded - this ensures degraded+ // clusters recover once endpoints start responding again+ cc.nodeHealth[endpoint] = true}// recoverUnhealthyNodes attempts to recover unhealthy nodes