mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-28 11:30:15 +00:00
Backport of v6 commits a87c9950 and 347d7db1.
Part 1 (a87c9950): Wrap the four guest agent c.get() errors with
fmt.Errorf("guest agent ...: %w", err) so isVMSpecificError() correctly
scopes them to the VM rather than the cluster endpoint.
Part 2 (347d7db1): Replace the 20+ pattern blocklist in
executeWithFailover with an allowlist via isEndpointConnectivityError().
Only true TCP/DNS/TLS failures mark an endpoint unhealthy. Any HTTP
response from Proxmox — including 500 — proves the node is reachable
and returns the error without affecting endpoint health.
|
||
|---|---|---|
| .. | ||
| ceph.go | ||
| ceph_test.go | ||
| client.go | ||
| client_api_more2_test.go | ||
| client_api_more3_test.go | ||
| client_api_more4_test.go | ||
| client_api_more_test.go | ||
| client_test.go | ||
| cluster_client.go | ||
| cluster_client_api_test.go | ||
| cluster_client_failover_test.go | ||
| cluster_client_more_test.go | ||
| cluster_client_test.go | ||
| replication.go | ||
| replication_test.go | ||
| zfs.go | ||
| zfs_details_test.go | ||
| zfs_test.go | ||