Elasticsearch-7.4.2- unable to discover master

Hello Team,
I am planning to spin up 3 nodes (node1,node2,node3) elasticsearch cluster in a single vm. I am using ip address of the machine for network host.
getting the below errors in logs, master not discovered or elected yet.

elasticsearch.yml

network.host: 171.25.87.174
http.cors.enabled: true
discovery.seed_hosts: ["171.25.87.174"]
cluster.initial_master_nodes: ["xxxnode1", "xxxnode2", "xxxnode3"]

startup.sh

./bin/elasticsearch -d -Enode.name=xxxnode1 -Epath.data=/data/elasticsearch-7.4.2/data/node_1 -Epath.logs=/data/elasticsearch-7.4.2/logs/IBNextGen1 -Enode.master=true -Ehttp.port=15011
./bin/elasticsearch -d -Enode.name=xxxnode2 -Epath.data=/data/elasticsearch-7.4.2/data/node_2 -Epath.logs=/data/elasticsearch-7.4.2/logs/IBNextGen2 -Enode.master=false -Ehttp.port=15012
./bin/elasticsearch -d -Enode.name=xxxnode3 -Epath.data=/data/elasticsearch-7.4.2/data/node_3 -Epath.logs=/data/elasticsearch-7.4.2/logs/IBNextGen3 -Enode.master=false -Ehttp.port=15013

Errors from logs:

[2020-03-09T15:13:02,376][WARN ][o.e.c.c.ClusterFormationFailureHelper] [xxxnode1] master not discovered or elected yet, an election requires a node with id [dRmZWv6dScSYYnSt79XJFw], have discovered [{xxxxnode1}{2vVPVUHfRmKmpLcjrSNmlg}{PbDXYs9XTWyo_4rdyEmwxg}{171.25.87.174}{171.25.87.174:9300}{dilm}{ml.machine_memory=33566687232, xpack.installed=true, ml.max_open_jobs=20}] which is not a quorum; discovery will continue using from hosts providers and [{xxxnode1}{2vVPVUHfRmKmpLcjrSNmlg}{PbDXYs9XTWyo_4rdyEmwxg}{171.25.87.174}{171.25.87.174:9300}{dilm}{ml.machine_memory=33566687232, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 1, last-accepted version 19 in term 1
[2020-03-09T15:13:12,378][WARN ][o.e.c.c.ClusterFormationFailureHelper] [xxxnode1] master not discovered or elected yet, an election requires a node with id [dRmZWv6dScSYYnSt79XJFw], have discovered [{xxxnode1}{2vVPVUHfRmKmpLcjrSNmlg}{PbDXYs9XTWyo_4rdyEmwxg}{171.25.87.174}{171.25.87.174:9300}{dilm}{ml.machine_memory=33566687232, xpack.installed=true, ml.max_open_jobs=20}] which is not a quorum; discovery will continue using from hosts providers and [{xxxnode1}{2vVPVUHfRmKmpLcjrSNmlg}{PbDXYs9XTWyo_4rdyEmwxg}{171.25.87.174}{171.25.87.174:9300}{dilm}{ml.machine_memory=33566687232, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 1, last-accepted version 19 in term 1
[2020-03-09T15:13:22,379][WARN ][o.e.c.c.ClusterFormationFailureHelper] [xxxnode1] master not discovered or elected yet, an election requires a node with id [dRmZWv6dScSYYnSt79XJFw], have discovered [{xxxnode1}{2vVPVUHfRmKmpLcjrSNmlg}{PbDXYs9XTWyo_4rdyEmwxg}{171.25.87.174}{171.25.87.174:9300}{dilm}{ml.machine_memory=33566687232, xpack.installed=true, ml.max_open_jobs=20}] which is not a quorum; discovery will continue using from hosts providers and [{xxxnode1}{2vVPVUHfRmKmpLcjrSNmlg}{PbDXYs9XTWyo_4rdyEmwxg}{171.25.87.174}{171.25.87.174:9300}{dilm}{ml.machine_memory=33566687232, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 1, last-accepted version 19 in term 1
[2020-03-09T15:13:26,509][DEBUG][o.e.a.a.c.h.TransportClusterHealthAction] [xxxnode1] no known master node, scheduling a retry

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