a150ed90e9f6de45392f107c8daa75494ab0d4fb
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>
Description
My contributions to proxmox-git/pve-cluster: 2 commits
54 KiB
0 Stars
1 Watchers
0 Forks
Languages
Perl
100%