Master not discovered in the bootstrap cluster

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

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

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

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