Hi @all,
I've been trying to create a cluster of 3 nodes for several days now. I always get the same error message:
detected the following error(s):
* local node address: cannot use IP '178.*.*.*', it must be configured exactly once on local node!
TASK ERROR: Check if node may join a cluster failed!
Here is my config:
3 Server from Hetzner with diffrent IP networks and gateways:
I create two vSwitches:
10.0.100.10 master
10.0.100.11 slave0
10.0.100.12 slave1
10.0.200.10 master
10.0.200.11 slave0
10.0.200.12 slave1
interfaces:
auto vmbr0
iface vmbr0 inet static
address *.*.*.*
netmask 255.255.255.255
gateway *.*.*.*
bridge-ports enp6s0
bridge-stp off
bridge-fd 0
pointopoint *.*.*.*
iface vmbr0 inet6 auto
post-up echo 2048 > /sys/class/net/vmbr0/bridge/hash_max
post-up echo 1 > /sys/class/net/vmbr0/bridge/multicast_snooping
post-up echo 0 > /proc/sys/net/ipv6/conf/vmbr0/accept_ra
up ip route add -net *.*.*.* netmask 255.255.255.224 gw *.*.*.* vmbr0
up sysctl -w net.ipv4.ip_forward=1
up sysctl -w net.ipv4.conf.enp6s0.send_redirects=0
up sysctl -w net.ipv6.conf.all.forwarding=1
up ip route add 192.168.0.0/16 via 148.251.84.126 dev vmbr0
up ip route add 172.16.0.0/12 via 148.251.84.126 dev vmbr0
up ip route add 10.0.0.0/8 via 148.251.84.126 dev vmbr0
# vlan raw device
auto enp6s0.4000
iface enp6s0.4000 inet static
vlan-raw-device enp6s0
mtu 1400
# vlan
auto vmbr4000
iface vmbr4000 inet static
bridge_ports enp6s0.4000
bridge_stp off
bridge_fd 0
address 10.0.100.10
netmask 24
# vlan raw device
auto enp6s0.4001
iface enp6s0.4001 inet static
vlan-raw-device enp6s0
mtu 1400
# vlan
auto vmbr4001
iface vmbr4001 inet static
bridge_ports enp6s0.4001
bridge_stp off
bridge_fd 0
address 10.0.200.10
netmask 24
hosts:
127.0.0.1 localhost.localdomain localhost
*.*.*.* master.*.* master
10.0.100.10 master-cs.*.* master-cs
10.0.100.11 slave0-cs.*.* slave0-cs
10.0.100.12 slave1-cs.*.* slave1-cs
#
# IPv6
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
* master.*.* master
Here my commands:
pvecm create NameCluster --link0 10.0.100.10,priority=20 --link1 10.0.200.10,priority=15
pvecm add <IPMaster> --link0 10.0.100.11,priority=20 --link1 10.0.200.11,priority=15
pvecm add <IPMaster> --link0 10.0.100.12,priority=20 --link1 10.0.200.12,priority=15
Situation:
Cluster Create: OK
Add Node: Error
* local node address: cannot use IP '<IPFromNode>', it must be configured exactly once on local node!
I've been trying to create a cluster of 3 nodes for several days now. I always get the same error message:
detected the following error(s):
* local node address: cannot use IP '178.*.*.*', it must be configured exactly once on local node!
TASK ERROR: Check if node may join a cluster failed!
Here is my config:
3 Server from Hetzner with diffrent IP networks and gateways:
I create two vSwitches:
10.0.100.10 master
10.0.100.11 slave0
10.0.100.12 slave1
10.0.200.10 master
10.0.200.11 slave0
10.0.200.12 slave1
interfaces:
auto vmbr0
iface vmbr0 inet static
address *.*.*.*
netmask 255.255.255.255
gateway *.*.*.*
bridge-ports enp6s0
bridge-stp off
bridge-fd 0
pointopoint *.*.*.*
iface vmbr0 inet6 auto
post-up echo 2048 > /sys/class/net/vmbr0/bridge/hash_max
post-up echo 1 > /sys/class/net/vmbr0/bridge/multicast_snooping
post-up echo 0 > /proc/sys/net/ipv6/conf/vmbr0/accept_ra
up ip route add -net *.*.*.* netmask 255.255.255.224 gw *.*.*.* vmbr0
up sysctl -w net.ipv4.ip_forward=1
up sysctl -w net.ipv4.conf.enp6s0.send_redirects=0
up sysctl -w net.ipv6.conf.all.forwarding=1
up ip route add 192.168.0.0/16 via 148.251.84.126 dev vmbr0
up ip route add 172.16.0.0/12 via 148.251.84.126 dev vmbr0
up ip route add 10.0.0.0/8 via 148.251.84.126 dev vmbr0
# vlan raw device
auto enp6s0.4000
iface enp6s0.4000 inet static
vlan-raw-device enp6s0
mtu 1400
# vlan
auto vmbr4000
iface vmbr4000 inet static
bridge_ports enp6s0.4000
bridge_stp off
bridge_fd 0
address 10.0.100.10
netmask 24
# vlan raw device
auto enp6s0.4001
iface enp6s0.4001 inet static
vlan-raw-device enp6s0
mtu 1400
# vlan
auto vmbr4001
iface vmbr4001 inet static
bridge_ports enp6s0.4001
bridge_stp off
bridge_fd 0
address 10.0.200.10
netmask 24
hosts:
127.0.0.1 localhost.localdomain localhost
*.*.*.* master.*.* master
10.0.100.10 master-cs.*.* master-cs
10.0.100.11 slave0-cs.*.* slave0-cs
10.0.100.12 slave1-cs.*.* slave1-cs
#
# IPv6
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
* master.*.* master
Here my commands:
pvecm create NameCluster --link0 10.0.100.10,priority=20 --link1 10.0.200.10,priority=15
pvecm add <IPMaster> --link0 10.0.100.11,priority=20 --link1 10.0.200.11,priority=15
pvecm add <IPMaster> --link0 10.0.100.12,priority=20 --link1 10.0.200.12,priority=15
Situation:
Cluster Create: OK
Add Node: Error
* local node address: cannot use IP '<IPFromNode>', it must be configured exactly once on local node!
Last edited: