# Elasticsearch-7.4.2- unable to discover master

**URL:** <https://discuss.elastic.co/t/elasticsearch-7-4-2-unable-to-discover-master/222730>\
**Category:** Elasticsearch\
**Created:** [March 9, 2020, 2:30pm UTC](https://discuss.elastic.co/t/elasticsearch-7-4-2-unable-to-discover-master/222730 "2020-03-09T14:30:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![satya06](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@satya06](https://discuss.elastic.co/u/satya06)\
**Post date:** [March 9, 2020, 2:30pm UTC](https://discuss.elastic.co/t/elasticsearch-7-4-2-unable-to-discover-master/222730/1 "2020-03-09T14:30:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 6, 2020, 2:30pm UTC](https://discuss.elastic.co/t/elasticsearch-7-4-2-unable-to-discover-master/222730/2 "2020-04-06T14:30:31Z")

</div>

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