# Elasticsearch Cannot find master node

**URL:** <https://forum.opensearch.org/t/elasticsearch-cannot-find-master-node/2618>\
**Category:** Open Source Elasticsearch and Kibana\
**Created:** [April 21, 2020, 12:38am UTC](https://forum.opensearch.org/t/elasticsearch-cannot-find-master-node/2618 "2020-04-21T00:38:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lyn01886](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/lyn01886/32/586_2.png) [@Lyn01886](https://forum.opensearch.org/u/Lyn01886)\
**Post date:** [April 21, 2020, 12:38am UTC](https://forum.opensearch.org/t/elasticsearch-cannot-find-master-node/2618/1 "2020-04-21T00:38:55Z")

</div>

Hello Everyone,  
So I have two different instances of ubuntu server running. Each has a docker compose file. One of them has a base docker-compose file that launches two instances of elasticsearch, and kibana. This loads fine and the nodes can talk to each other and form a cluster. Then I have another docker-compose file on another ubuntu server. This instance spins up 3 elasticsearch nodes who all have the first ubuntu server instance’s IP set as their discovery.seed\_hosts. None of these three nodes can connect to the first cluster.

They repeatedly give the _“master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial\_master\_nodes] is empty on this node:”_ error.

Cluster Compose File: [cluster compose - Pastebin.com](https://pastebin.com/17kHxBu6)  
Server Compose File: [server compose - Pastebin.com](https://pastebin.com/2CCGEdgE)

Any help would be appreciated

---

<div class="post-metadata">

**Author:** ![kris](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/kris/32/2208_2.png) [@kris](https://forum.opensearch.org/u/kris)\
**Post date:** [February 7, 2023, 12:02am UTC](https://forum.opensearch.org/t/elasticsearch-cannot-find-master-node/2618/2 "2023-02-07T00:02:05Z")

</div>


