Hello, I am setting up a cluster for the first time, ran into a problem on the first node to join (alpha created cluster, delta is joining it) and get the error
* local node address: cannot use IP '10.0.10.22', not found on local node!
Research shows that the culprit is the /etc/hosts file but mine matches:
root@delta:~# cat /etc/hosts
10.0.10.22 delta.nixnet.net delta
which matches the subinterface IP on the bridge:
root@delta:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether 6c:4b:90:62:85:a6 brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 7c:2a:31:4c:95:af brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 6c:4b:90:62:85:a6 brd ff:ff:ff:ff:ff:ff
inet6 fe80::6e4b:90ff:fe62:85a6/64 scope link
valid_lft forever preferred_lft forever
5: vmbr0.99@vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 6c:4b:90:62:85:a6 brd ff:ff:ff:ff:ff:ff
inet 10.0.99.22/24 scope global vmbr0.99
valid_lft forever preferred_lft forever
inet6 fe80::6e4b:90ff:fe62:85a6/64 scope link
valid_lft forever preferred_lft forever
And the hostname is correct:
root@delta:~# hostname -f
delta.nixnet.net
It must be a newbie mistake but I am not catching it. Can anyone give me a hand?
Edit: contents of /etc/network/interfaces
auto lo
iface lo inet loopback
iface enp0s31f6 inet manual
auto vmbr0
iface vmbr0 inet static
bridge-ports enp0s31f6
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0.99
iface vmbr0.99 inet static
address 10.0.99.22/24
gateway 10.0.99.254
source /etc/network/interfaces.d/*
* local node address: cannot use IP '10.0.10.22', not found on local node!
Research shows that the culprit is the /etc/hosts file but mine matches:
root@delta:~# cat /etc/hosts
10.0.10.22 delta.nixnet.net delta
which matches the subinterface IP on the bridge:
root@delta:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether 6c:4b:90:62:85:a6 brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 7c:2a:31:4c:95:af brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 6c:4b:90:62:85:a6 brd ff:ff:ff:ff:ff:ff
inet6 fe80::6e4b:90ff:fe62:85a6/64 scope link
valid_lft forever preferred_lft forever
5: vmbr0.99@vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 6c:4b:90:62:85:a6 brd ff:ff:ff:ff:ff:ff
inet 10.0.99.22/24 scope global vmbr0.99
valid_lft forever preferred_lft forever
inet6 fe80::6e4b:90ff:fe62:85a6/64 scope link
valid_lft forever preferred_lft forever
And the hostname is correct:
root@delta:~# hostname -f
delta.nixnet.net
It must be a newbie mistake but I am not catching it. Can anyone give me a hand?
Edit: contents of /etc/network/interfaces
auto lo
iface lo inet loopback
iface enp0s31f6 inet manual
auto vmbr0
iface vmbr0 inet static
bridge-ports enp0s31f6
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0.99
iface vmbr0.99 inet static
address 10.0.99.22/24
gateway 10.0.99.254
source /etc/network/interfaces.d/*
Last edited: