[pve-devel] [PATCH stable5 manager 4/6] 5to6: fail if a corosync node has neither ring0 nor ring1 defined
Fabian Grünbichler
f.gruenbichler at proxmox.com
Mon Jul 8 13:54:07 CEST 2019
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
(cherry picked from commit e6b956df7bb1522e0cf47e2afb3dbb609a88b750)
---
PVE/CLI/pve5to6.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/PVE/CLI/pve5to6.pm b/PVE/CLI/pve5to6.pm
index 33079553..e7c9a24f 100644
--- a/PVE/CLI/pve5to6.pm
+++ b/PVE/CLI/pve5to6.pm
@@ -430,6 +430,8 @@ sub check_cluster_corosync {
if !defined($entry->{name});
log_fail("$cs_node: no nodeid configured in corosync.conf.")
if !defined($entry->{nodeid});
+ log_fail("$cs_node: neither ring0_addr nor ring1_addr defined in corosync.conf.")
+ if !defined($entry->{ring0_addr}) && !defined($entry->{ring1_addr});
my $verify_ring_ip = sub {
my $key = shift;
--
2.20.1
More information about the pve-devel
mailing list