# Master not discovered in the bootstrap cluster

**URL:** https://discuss.elastic.co/t/master-not-discovered-in-the-bootstrap-cluster/281586
**Category:** Elasticsearch
**Created:** [August 16, 2021, 6:42pm UTC](https://discuss.elastic.co/t/master-not-discovered-in-the-bootstrap-cluster/281586 "2021-08-16T18:42:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kadiveti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kadiveti/32/79949_2.png) [@kadiveti](https://discuss.elastic.co/u/kadiveti)
#### Post date: [August 16, 2021, 6:42pm UTC](https://discuss.elastic.co/t/master-not-discovered-in-the-bootstrap-cluster/281586/1 "2021-08-16T18:42:04Z")

</div>

Hello All,

I tried to set up a simple 3 node elastic cluster. I tried almost the same setup 10 times. Every I see a new issue will come up when setting this.

Every time I create this setup from Azure and delete the setup if it's not working.

Now I am seeing a new error that shows the Master is not discovered.

'''

[2021-08-16T18:03:41,196][INFO][o.e.t.TransportService] [master1] publish\_address {10.0.0.4:9300}, bound\_addresses {[::1]:9300}, {127.0.0.1:9300}, {10.0.0.4:9300}  
[2021-08-16T18:03:41,376][INFO][o.e.b.BootstrapChecks] [master1] bound or publishing to a non-loopback address, enforcing bootstrap checks  
[2021-08-16T18:03:51,393][WARN][o.e.c.c.ClusterFormationFailureHelper] [master1] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [master1, master2, master3] to bootstrap a cluster: have discovered [{master1}{M2Xho4tWTjex5O3akU6-mw}{1Au9verJRL65dAZi1LDGaw}{10.0.0.4}{10.0.0.4:9300}{cdfhilmrstw}]; discovery will continue using [10.0.0.5:9300, 10.0.0.6:9300] from hosts providers and [{master1}{M2Xho4tWTjex5O3akU6-mw}{1Au9verJRL65dAZi1LDGaw}{10.0.0.4}{10.0.0.4:9300}{cdfhilmrstw}] from last-known cluster state; node term 0, last-accepted version 0 in term 0  
[2021-08-16T18:09:30,500][WARN][o.e.d.PeerFinder] [master1] address [10.0.0.5:9300], node [null], requesting [false] connection failed: [10.0.0.5:9300] connect\_exception: No route to host: master2/10.0.0.5:9300: No route to host  
[2021-08-16T18:09:30,500][WARN][o.e.d.PeerFinder] [master1] address [10.0.0.6:9300], node [null], requesting [false] connection failed: [10.0.0.6:9300] connect\_exception: No route to host: master3/10.0.0.6:9300: No route to host  
[2021-08-16T18:09:31,452][WARN][o.e.c.c.ClusterFormationFailureHelper] [master1] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [master1, master2, master3] to bootstrap a cluster: have discovered [{master1}{M2Xho4tWTjex5O3akU6-mw}{1Au9verJRL65dAZi1LDGaw}{10.0.0.4}{10.0.0.4:9300}  
'''  
Please find the elasticsearch.yml file  
cluster.name: "Elkprod"  
node.name: "master1"  
path.logs: /var/log/elasticsearch  
path.data: /var/lib/elasticsearch  
discovery.seed\_hosts: ["master1","master2","master3"]  
cluster.initial\_master\_nodes: ["master1","master2","master3"]  
node.master: true  
node.data: true  
network.host: [_site_, _local_]

my hosts list  
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 master1  
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

hostname  
master1

Please help me in this every time i build i find a new problem . I started and be stuck in the same for a long time

---

<div class="post-metadata">

### Author: ![kadiveti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kadiveti/32/79949_2.png) [@kadiveti](https://discuss.elastic.co/u/kadiveti)
#### Post date: [August 16, 2021, 6:52pm UTC](https://discuss.elastic.co/t/master-not-discovered-in-the-bootstrap-cluster/281586/2 "2021-08-16T18:52:03Z")

</div>

I opened the port in the range 9200-9300 which are available default for elasticsearch in azure

---

<div class="post-metadata">

### Author: ![kadiveti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kadiveti/32/79949_2.png) [@kadiveti](https://discuss.elastic.co/u/kadiveti)
#### Post date: [August 16, 2021, 7:24pm UTC](https://discuss.elastic.co/t/master-not-discovered-in-the-bootstrap-cluster/281586/3 "2021-08-16T19:24:40Z")

</div>

Individual all the nodes are running fine for cluster uuid is na

---

<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: [September 13, 2021, 7:25pm UTC](https://discuss.elastic.co/t/master-not-discovered-in-the-bootstrap-cluster/281586/4 "2021-09-13T19:25:17Z")

</div>

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