This series allows the API to handle all 8 possible links that corosync 3
supports. Additional verifications are added to support a smarter fallback
behaviour and abort join if the current cluster config is invalid or
unsupported.

verify_conf is not just nice-to-have, but required for patch 3 since it assumes
all nodes to have the same links for the join verification to work.

API/Backend only, frontend works with patched backend, but will not see any
links other than 0 and 1.

Last patch is technically an unrelated fix, but based on the previous 4.


cluster: Stefan Reiter (5):
  corosync: add verify_conf
  Enable support for up to 8 corosync links
  Add verification and fallback to cluster join/addnode
  Add cluster join API version check
  corosync: check if IPs are configured on cluster create

 data/PVE/API2/ClusterConfig.pm    | 145 +++++++++++++++-----
 data/PVE/CLI/pvecm.pm             |  26 ++--
 data/PVE/Cluster/Setup.pm         |  96 +++++++------
 data/PVE/Corosync.pm              | 217 ++++++++++++++++++++++++++----
 data/test/corosync_parser_test.pl |  28 ++++
 5 files changed, 400 insertions(+), 112 deletions(-)

-- 
2.20.1

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to