# Elasticsearch shows "master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster"

**URL:** <https://discuss.elastic.co/t/elasticsearch-shows-master-not-discovered-yet-this-node-has-not-previously-joined-a-bootstrapped-v7-cluster/289406>\
**Category:** Elasticsearch\
**Created:** [November 17, 2021, 8:02am UTC](https://discuss.elastic.co/t/elasticsearch-shows-master-not-discovered-yet-this-node-has-not-previously-joined-a-bootstrapped-v7-cluster/289406 "2021-11-17T08:02:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shaiju\_Sam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaiju_sam/32/86283_2.png) [@Shaiju\_Sam](https://discuss.elastic.co/u/Shaiju_Sam)\
**Post date:** [November 17, 2021, 8:02am UTC](https://discuss.elastic.co/t/elasticsearch-shows-master-not-discovered-yet-this-node-has-not-previously-joined-a-bootstrapped-v7-cluster/289406/1 "2021-11-17T08:02:39Z")

</div>

Hello Team,

Im setting up a single node cluster and below is my Elasticsearch.yml file

```auto
cluster.name: my-application

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

bootstrap.memory_lock: true

network.host: CZASMV-MSELK004

http.port: 9200

discovery.seed_hosts: ["CZASMV-MSELK004"]

cluster.initial_master_nodes: ["CZASMV-MSELK004"]

```

Once I start the cluster, I get the WARN message telling the below

```auto
[WARN][o.e.c.c.ClusterFormationFailureHelper] [node-1] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [CZASMV-MSELK004] to bootstrap a cluster: have discovered [{node-1}{QC2YR8ecRaWSJny4Vgr3mQ}{mpl_FOfmTJqQurBszJSwuw}{CZASMV-MSELK004}{10.200.59.35:9300}{dimr}]; discovery will continue using [] from hosts providers and [{node-1}{QC2YR8ecRaWSJny4Vgr3mQ}{mpl_FOfmTJqQurBszJSwuw}{CZASMV-MSELK004}{10.200.59.35:9300}{dimr}] from last-known cluster state; node term 0, last-accepted version 0 in term 0

```

However I can see the master role is enabled as show below

```auto
[2021-11-17T00:11:55,656][INFO][o.e.n.Node] [node-1] node name [node-1], node ID [QC2YR8ecRaWSJny4Vgr3mQ], cluster name [my-application], roles [master, remote_cluster_client, data, ingest]

```

Can someone please help me if im missing something here ? Thanks for your help

---

<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:** [December 15, 2021, 8:02am UTC](https://discuss.elastic.co/t/elasticsearch-shows-master-not-discovered-yet-this-node-has-not-previously-joined-a-bootstrapped-v7-cluster/289406/2 "2021-12-15T08:02:55Z")

</div>

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