# Master node not discovered yet

**URL:** <https://discuss.elastic.co/t/master-node-not-discovered-yet/347241>\
**Category:** Elastic Search\
**Tags:** elastic-workplace-search\
**Created:** [November 15, 2023, 4:36pm UTC](https://discuss.elastic.co/t/master-node-not-discovered-yet/347241 "2023-11-15T16:36:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Casper\_Koch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casper_koch/32/127602_2.png) [@Casper\_Koch](https://discuss.elastic.co/u/Casper_Koch)\
**Post date:** [November 15, 2023, 4:36pm UTC](https://discuss.elastic.co/t/master-node-not-discovered-yet/347241/1 "2023-11-15T16:36:05Z")

</div>

I created a new node which i want to join an already existing single-node cluster. For the life of me i cannot make it work

The configuraiton file for the existing cluster is

```auto
cluster.name: syslog
node.name: syslog01
#path.data: /var/lib/elasticsearch
path.data: /data/elasticsearch
path.logs: /var/log/elasticsearch
path.repo: ["/mnt/nas02"]
#network.host: syslog.eksponent.com
network.host: _site_
http.port: 9200
#discovery.type: single-node
cluster.initial_master_nodes:
  - syslog01
  - syslog02  
xpack.security.enabled: true
xpack.security.http.ssl.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.http.ssl.key: certs/cert-key.pem
xpack.security.http.ssl.certificate: certs/cert.pem
#xpack.security.http.ssl.certificate_authorities: certs/intermediate.pem
xpack.security.transport.ssl.key: certs/cert-key.pem
xpack.security.transport.ssl.certificate: certs/cert.pem
#xpack.security.transport.ssl.certificate_authorities: certs/intermediate.pem
xpack.monitoring.collection.enabled: true
indices.breaker.request.limit: 41%
indices.breaker.total.use_real_memory: false

```

The conf file for the new node is:

```auto
cluster.name: syslog
node.name: syslog02
#path.data: /var/lib/elasticsearch
path.data: /data/elasticsearch
path.logs: /var/log/elasticsearch
#path.repo: ["/mnt/nas02"]
#network.host: syslog02.eksponent.com
network.host: _site_
http.port: 9200
discovery.seed_hosts:
  - 192.168.10.98:9200
  - syslog.eksponent.com
xpack.security.enabled: true
xpack.security.http.ssl.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.http.ssl.key: certs/cert-key.pem
xpack.security.http.ssl.certificate: certs/cert.pem
#xpack.security.http.ssl.certificate_authorities: certs/intermediate.pem
xpack.security.transport.ssl.key: certs/cert-key.pem
xpack.security.transport.ssl.certificate: certs/cert.pem
#xpack.security.transport.ssl.certificate_authorities: certs/intermediate.pem
xpack.security.transport.ssl.verification_mode: none # <-- Must be removed!!
xpack.monitoring.collection.enabled: true
indices.breaker.request.limit: 41%
indices.breaker.total.use_real_memory: false

```

The error is:

[2023-11-15T17:24:30,729][WARN][o.e.d.PeerFinder] [syslog02] address [192.168.10.98:9300], node [null], requesting [false] discovery result: [192.168.10.98:9300] connect\_timeout[30s]  
[2023-11-15T17:24:39,706][WARN][o.e.c.c.ClusterFormationFailureHelper] [syslog02] master not discovered yet, this node has not previously joined a bootstrapped cluster, and [cluster.initial\_master\_nodes] is empty on this node: have discovered [{syslog02}{ZdLLyQijR2-f\_IVQv77XFw}{YWcsVhinSQCWHqEty\_DWJQ}{syslog02}{192.168.10.97}{192.168.10.97:9300}{cdfhilmrstw}{8.11.0}{7000099-8500003}]; discovery will continue using [192.168.10.98:9200, 192.168.10.98:9300] from hosts providers and [{syslog02}{ZdLLyQijR2-f\_IVQv77XFw}{YWcsVhinSQCWHqEty\_DWJQ}{syslog02}{192.168.10.97}{192.168.10.97:9300}{cdfhilmrstw}{8.11.0}{7000099-8500003}] from last-known cluster state; node term 0, last-accepted version 0 in term 0; for troubleshooting guidance, see [Troubleshooting discovery | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.11/discovery-troubleshooting.html)

---

<div class="post-metadata">

**Author:** ![Sean\_Story](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sean_story/32/69987_2.png) [@Sean\_Story](https://discuss.elastic.co/u/Sean_Story)\
**Post date:** [December 6, 2023, 7:46pm UTC](https://discuss.elastic.co/t/master-node-not-discovered-yet/347241/2 "2023-12-06T19:46:00Z")

</div>

You can't have a 2-node cluster. You have to go from 1 to 3. Otherwise, the two nodes cannot decide between themselves who the master will be.

---

<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:** [January 3, 2024, 7:47pm UTC](https://discuss.elastic.co/t/master-node-not-discovered-yet/347241/3 "2024-01-03T19:47:01Z")

</div>

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