mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-25 12:52:25 +00:00
f8cdd76b79
Two PVE clusters whose nodes share hostnames (pve01/pve02 on different subnets) collapsed into one: the agent-link hostname fallback bound the second cluster's node to the first cluster's agent despite contradicting IP evidence, and the shared LinkedAgentID then overrode the cluster-scoped merge key, so the fresher node overwrote the first cluster's slot and relabeled it. The endpoint-host merge alias had the same hole when TLS settings degrade node endpoints to bare node names. Hostname matches now reject candidate agents whose linked nodes live in a different named cluster or whose reported IPs exclude the node's endpoint IP, and neither a shared agent identity nor an endpoint alias can merge two nodes whose named clusters contradict. Empty cluster names still merge freely so standalone views keep folding into their cluster node. Reported via support by an MSP running two clusters plus a standalone that reuse pve01/pve02 across sites.