# I am receiving master not discovered or elected yet

**URL:** <https://discuss.elastic.co/t/i-am-receiving-master-not-discovered-or-elected-yet/231712>\
**Category:** Elasticsearch\
**Created:** [May 8, 2020, 11:55am UTC](https://discuss.elastic.co/t/i-am-receiving-master-not-discovered-or-elected-yet/231712 "2020-05-08T11:55:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nadimmansour90](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nadimmansour90](https://discuss.elastic.co/u/nadimmansour90)\
**Post date:** [May 8, 2020, 11:55am UTC](https://discuss.elastic.co/t/i-am-receiving-master-not-discovered-or-elected-yet/231712/1 "2020-05-08T11:55:56Z")

</div>

I was trying to renew the node\_pem certificate for the nodes in the elasticsearch cluster and the cluster became unavailable

in the logs i can see :  
`[master_10.118.12.10] master not discovered or elected yet, an election requires at least 2 nodes with ids from [_TOgCmXVSmOxf1Y0SQLmmA, 8J8HixVFRLu-XrAeZDWHBg, XqddOB4MQ2e2uMzP4SgJdA], have discovered [{master_10.118.12.10}{XqddOB4MQ2e2uMzP4SgJdA}{ZtFdSfz7RzmKvYhYaPIPSA}{10.118.12.10}{10.118.12.10:9300}{im}{availability_zone=eu-central-1c}] which is not a quorum; discovery will continue using [127.0.0.1:9300, 10.118.10.11:9300, 10.118.10.56:9300, 10.118.10.69:9300, 10.118.11.13:9300, 10.118.11.73:9300, 10.118.11.248:9300, 10.118.12.10:9300] from hosts providers and [{master_10.118.12.10}{XqddOB4MQ2e2uMzP4SgJdA}{ZtFdSfz7RzmKvYhYaPIPSA}{10.118.12.10}{10.118.12.10:9300}{im}{availability_zone=eu-central-1c}] from last-known cluster state; node term 2, last-accepted version 324193 in term 2`

---

<div class="post-metadata">

**Author:** ![KoettingSimon](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KoettingSimon](https://discuss.elastic.co/u/KoettingSimon)\
**Post date:** [May 8, 2020, 12:03pm UTC](https://discuss.elastic.co/t/i-am-receiving-master-not-discovered-or-elected-yet/231712/2 "2020-05-08T12:03:12Z")

</div>

Hi,  
How many nodes do you have in your Cluster and how many master-nodes?  
Are all of this nodes started?

Best,  
Simon

---

<div class="post-metadata">

**Author:** ![nadimmansour90](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nadimmansour90](https://discuss.elastic.co/u/nadimmansour90)\
**Post date:** [May 8, 2020, 12:35pm UTC](https://discuss.elastic.co/t/i-am-receiving-master-not-discovered-or-elected-yet/231712/3 "2020-05-08T12:35:54Z")

</div>

Three master , and 2 data nodes.

all nodes are running. But master not discovered or elected.

---

<div class="post-metadata">

**Author:** ![KoettingSimon](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KoettingSimon](https://discuss.elastic.co/u/KoettingSimon)\
**Post date:** [May 8, 2020, 12:44pm UTC](https://discuss.elastic.co/t/i-am-receiving-master-not-discovered-or-elected-yet/231712/4 "2020-05-08T12:44:04Z")

</div>

ok, do all nodes show this error?  
Are there any other errors in the logs?

---

<div class="post-metadata">

**Author:** ![nadimmansour90](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nadimmansour90](https://discuss.elastic.co/u/nadimmansour90)\
**Post date:** [May 8, 2020, 1:11pm UTC](https://discuss.elastic.co/t/i-am-receiving-master-not-discovered-or-elected-yet/231712/5 "2020-05-08T13:11:39Z")

</div>

All the master nodes are showing this error.

---

<div class="post-metadata">

**Author:** ![KoettingSimon](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KoettingSimon](https://discuss.elastic.co/u/KoettingSimon)\
**Post date:** [May 8, 2020, 5:11pm UTC](https://discuss.elastic.co/t/i-am-receiving-master-not-discovered-or-elected-yet/231712/6 "2020-05-08T17:11:42Z")

</div>

Ok, please post some surrounding logs not only this particular error

---

<div class="post-metadata">

**Author:** ![nadimmansour90](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nadimmansour90](https://discuss.elastic.co/u/nadimmansour90)\
**Post date:** [May 10, 2020, 7:03pm UTC](https://discuss.elastic.co/t/i-am-receiving-master-not-discovered-or-elected-yet/231712/8 "2020-05-10T19:03:10Z")

</div>

master not discovered yet, [cluster.initial\_master\_nodes] is empty on this node: have discovered [{master\_10.118.12.202}{5fxSnVSnRtOGIVOaypGu5Q}{Os0HpkSqQ4mbC\_vrm0OU0A}{10.118.12.202}{10.118.12.202:9300}{im}{availability\_zone=eu-central-1c}]; discovery will continue using [127.0.0.1:9300, 10.118.10.11:9300, 10.118.10.69:9300, 10.118.10.156:9300, 10.118.11.13:9300, 10.118.11.73:9300, 10.118.12.202:9300, 10.118.12.126:9300] from hosts providers and [{master\_10.118.12.202}{5fxSnVSnRtOGIVOaypGu5Q}{Os0HpkSqQ4mbC\_vrm0OU0A}{10.118.12.202}{10.118.12.202:9300}{im}{availability\_zone=eu-central-1c}]

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 10, 2020, 10:01pm UTC](https://discuss.elastic.co/t/i-am-receiving-master-not-discovered-or-elected-yet/231712/11 "2020-05-10T22:01:59Z")

</div>

It looks like you have OpenDistro installed so you may want to ask on their forum.

---

<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:** [June 7, 2020, 10:01pm UTC](https://discuss.elastic.co/t/i-am-receiving-master-not-discovered-or-elected-yet/231712/12 "2020-06-07T22:01:59Z")

</div>

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