# Elasticsearch cluster does not show all nodes

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-does-not-show-all-nodes/195181>\
**Category:** Elasticsearch\
**Created:** [August 14, 2019, 9:59am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-does-not-show-all-nodes/195181 "2019-08-14T09:59:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ofer\_Peled](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ofer_peled/32/42188_2.png) [@Ofer\_Peled](https://discuss.elastic.co/u/Ofer_Peled)\
**Post date:** [August 14, 2019, 9:59am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-does-not-show-all-nodes/195181/1 "2019-08-14T09:59:29Z")

</div>

Hi there,

Although I am using the docker compose attached, I see ONLY ONE node in my elasticsearch cluster (running [http://X.X.X.X:9200/\_cat/nodes?v](http://X.X.X.X:9200/_cat/nodes?v))  
 ![Untitled](https://us1.discourse-cdn.com/elastic/original/3X/3/d/3dba80530a8ad9c3c77b63027d83c98c061410a0.png)

Nothing suspicious in the logs.

Any idea what am I doing wrong.  
Thanks in advance,  
Ofer

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 14, 2019, 10:29am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-does-not-show-all-nodes/195181/2 "2019-08-14T10:29:34Z")

</div>

please do not post images here, they are hard to read. Please use markdown in order to format code snippets or logs.

Can you share the logfiles of the master node and the node trying to join the cluster. Your screenshot does not reveal any information, how many nodes you are expecting to be available.

Also, maybe in order to make sure everything works with your configuration, trying this without docker first might make sense.

--Alex

---

<div class="post-metadata">

**Author:** ![Ofer\_Peled](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ofer_peled/32/42188_2.png) [@Ofer\_Peled](https://discuss.elastic.co/u/Ofer_Peled)\
**Post date:** [August 14, 2019, 11:27am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-does-not-show-all-nodes/195181/3 "2019-08-14T11:27:38Z")

</div>

Thanks for this Alex.

I expect 3 nodes in the cluster.

I share 2 logs folders:

1. using DNS name in discovery setting (as shown above)
2. using IP in discovery setting  
[https://drive.google.com/drive/folders/1JxENfXmKw1Zp\_aSIr7VtQBV6GrxxCcMJ?usp=sharing](https://drive.google.com/drive/folders/1JxENfXmKw1Zp_aSIr7VtQBV6GrxxCcMJ?usp=sharing)

NOTE: that I hoped to use the docker swarm to ease the ES setup in our local environment.

Thanks again.

---

<div class="post-metadata">

**Author:** ![Ofer\_Peled](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ofer_peled/32/42188_2.png) [@Ofer\_Peled](https://discuss.elastic.co/u/Ofer_Peled)\
**Post date:** [August 15, 2019, 7:20am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-does-not-show-all-nodes/195181/4 "2019-08-15T07:20:47Z")

</div>

Additionally I tested successfully both pings and telnet (port 9300) between all containers.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [August 26, 2019, 1:58pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-does-not-show-all-nodes/195181/5 "2019-08-26T13:58:20Z")

</div>

Do the nodes report different cluster UUIDs? If so, [does this help](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-bootstrap-cluster.html#modules-discovery-bootstrap-cluster-joining)?

---

<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 23, 2019, 1:58pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-does-not-show-all-nodes/195181/6 "2019-09-23T13:58:20Z")

</div>

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