Nodes are not joining cluster

Hello,

I am trying to build a 3-node Elasticsearch cluster. I am using Elasticsearch 7.3. When I check the health of the cluster, it tells me the number of nodes = 1.

Here are the node settings for all three:

Start config

Node 1:

cluster.name: elastic

node.name: node-1
node.data: true
node.ingest: true
node.master: true

network.host: 10.10.1.176
http.port: 9200

discovery.seed_hosts: ["10.10.1.176", "10.10.1.175", "10.10.1.174"]
cluster.initial_master_nodes: [node-1, node-2, node-3]

Node 2:

cluster.name: elastic

node.name: node-2
node.data: true
node.ingest: true
node.master: true

network.host: 10.10.1.175
http.port: 9200

discovery.seed_hosts: ["10.10.1.176", "10.10.1.175", "10.10.1.174"]
cluster.initial_master_nodes: [node-1, node-2, node-3]

Node 3:

cluster.name: elastic

node.name: node-3
node.data: true
node.ingest: true
node.master: true

network.host: 10.10.1.174
http.port: 9200

discovery.seed_hosts: ["10.10.1.176", "10.10.1.175", "10.10.1.174"]
cluster.initial_master_nodes: [node-1, node-2, node-3]

End config

[root@elk-node2 ~]# curl -X GET "10.10.1.176:9200/_cluster/health?pretty"
{
"cluster_name" : "elastic",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 0,
"active_shards" : 0,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 100.0

Seeing this error in the logs from Node1:

[node-1] failed to join {node-3}{_OMhWTqIQPy-jLCwmQJSRg}{xd5r4ZdrT0-W6sx5MkGkEQ}{10.10.1.174}{10.10.1.174:9300}{dim}{ml.machine_memory=2267451392, ml.max_open_jobs=20, xpack.installed=true} with JoinRequest{sourceNode={node-1}{Wt3QxGcdRbuIwbKaz4r4BQ}{tp4ZhtCqTJGql7-Fmyyp4Q}{10.10.1.176}{10.10.1.176:9300}{dim}{ml.machine_memory=2496040960, xpack.installed=true, ml.max_open_jobs=20}, optionalJoin=Optional.empty}

The message you quoted looks incomplete, and is missing the vital bits that would say what is wrong. Can you share the whole message?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.