dualfroz a150ed90e9 fix #5794: cluster join: check that the interfaces of the links are up
Before joining a cluster, the IPs of the corosync links are checked to
be configured on the node. An IP on an interface without carrier, for
example with an unplugged cable, still counts as configured, so the
join is started even though corosync cannot reach the other nodes.
The join then fails halfway, and the node stays without quorum until
the link comes up, which looks like a split brain.

Additionally check the operational state of the interface the IP is
configured on and refuse to join if it is not up. Interfaces that
report their state as unknown, like dummy interfaces, are treated as
up. Like the other checks, this can be overridden with 'force'.

Signed-off-by: Michal Fox <me@dualfroz.com>
2026-10-03 02:06:52 +02:00
S
Description
My contributions to proxmox-git/pve-cluster: 2 commits
54 KiB
0 Stars 1 Watchers 0 Forks
Languages
Perl 100%