Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Error building Consul cluster

Pages: 1 2 3

Error building cluster, please check detail below.

Error List

Cluster Node peta1 failed to join the cluster or is not alive.
Cluster Node peta2 failed to join the cluster or is not alive.

Still same error

can you email the /opt/petasan/log/PetaSAN.log file on all 3 nodes + /opt/petasan/config/cluster_info.json to contact-us @ petasan.org

thanks !

Sent you the logs by mail

The logs failed during the cluster build step, which happens in node 3 deployment. It failed to build the Consul server, which is the first service we use that relies on the backend network. It is most probably due to incorrect backend network settings:

"backend_1_base_ip": "134.137.0.0",
"backend_1_eth_name": "eth3",
"backend_1_mask": "255.255.0.0",
"backend_1_vlan_id": "",
"backend_2_base_ip": "134.137.0.0",
"backend_2_eth_name": "eth4",
"backend_2_mask": "255.255.0.0",

Here both backend 2 and backend 1 are using overlapped addresses 134.137.0.0. The tcp/network layer can get confused it may send a backend 1 packet sometimes on eth3 other times eth4, this will cause packet not being received. To fix:

"backend_1_base_ip": "134.137.0.0",
"backend_1_mask": "255.255.0.0",
"backend_2_base_ip": "134.138.0.0",
"backend_2_mask": "255.255.0.0",

and modify the backend 2 ip assigned to each node.

It is probably possible for you to change the config files/reboot..but is probably easier and quicker to install from start

 

Thank you. Its working.

Pages: 1 2 3