Unable to form a cluster elasticsearch 8.0.0

Hi Team,

I have downloaded Elasticsearch 8.0.0 on windows 2019.
I am trying to make a 3 node cluster with master + data eligibility.

Below is my Node 1 configuration

cluster.name: test
node.name: node-1
node.roles: [data,master,voting_only]
#path.data: /path/to/data
#path.logs: /path/to/logs

network.host: 0.0.0.0
http.port: 9200

discovery.seed_hosts: ["10.xx.xx.xxx","10.xx.xx.xx2","10.xx.xx.xx3"]

cluster.initial_master_nodes: ["10.xx.xx.xxx","10.xx.xx.xx2","10.xx.xx.xx3"]

xpack.security.enabled: false

I have made the same configuration to other 2 nodes.

The error I am getting in Elasticsearch is below.

         ] [node-2] started

[2022-03-04T07:43:09,056][WARN ][o.e.c.c.ClusterFormationFailureHelper] [node-2] master not discovered or elected yet, an election requires at least 2 nodes with ids from [8cg3WOdfT4KRwLJKEGH47w, DkAAXowmSay2xh8qHxYogw, 2wNkjcmdRPaP7vG3JyQpPA], have only discovered non-quorum [{node-2}{DkAAXowmSay2xh8qHxYogw}{RURlT-L4RZ-1mDOgrk42VQ}{10.xx.xx.xx3}{10.xx.xx.xx3:9300}{dmv}, {node-3}{2wNkjcmdRPaP7vG3JyQpPA}{-DGPRFCfToa_j2JmeLmKSQ}{10.xx.xx.xx1}{10.xx.xx.xx1:9300}{dmv}, {node-1}{8cg3WOdfT4KRwLJKEGH47w}{JlWVVmoyTwaGj5Ynvc8zdA}{10.xx.xx.xxx}{10.xx.xx.xxx:9300}{dmv}]; discovery will continue using [10.xx.xx.xxx:9300, 10.xx.xx.xx1:9300] from hosts providers and [{node-2}{DkAAXowmSay2xh8qHxYogw}{RURlT-L4RZ-1mDOgrk42VQ}{10.xx.xx.xx3}{10.xx.xx.xx3:9300}{dmv}] from last-known cluster state; node term 93, last-accepted version 101 in term 93
[2022-03-04T07:43:19,060][WARN ][o.e.c.c.ClusterFormationFailureHelper] [node-2] master not discovered or elected yet, an election requires at least 2 nodes with ids from [8cg3WOdfT4KRwLJKEGH47w, DkAAXowmSay2xh8qHxYogw, 2wNkjcmdRPaP7vG3JyQpPA], have only discovered non-quorum [{node-2}{DkAAXowmSay2xh8qHxYogw}{RURlT-L4RZ-1mDOgrk42VQ}{10.xx.xx.xx3}{10.xx.xx.xx3:9300}{dmv}, {node-3}{2wNkjcmdRPaP7vG3JyQpPA}{-DGPRFCfToa_j2JmeLmKSQ}{10.xx.xx.xx1}{10.xx.xx.xx1:9300}{dmv}, {node-1}{8cg3WOdfT4KRwLJKEGH47w}{JlWVVmoyTwaGj5Ynvc8zdA}{10.xx.xx.xxx}{10.xx.xx.xxx:9300}{dmv}]; discovery will continue using [10.xx.xx.xxx:9300, 10.xx.xx.xx1:9300] from hosts providers and [{node-2}{DkAAXowmSay2xh8qHxYogw}{RURlT-L4RZ-1mDOgrk42VQ}{10.xx.xx.xx3}{10.xx.xx.xx3:9300}{dmv}] from last-known cluster state; node term 93, last-accepted version 101 in term 93
[2022-03-04T07:43:29,064][WARN ][o.e.c.c.ClusterFormationFailureHelper] [node-2] master not discovered or elected yet, an election requires at least 2 nodes with ids from [8cg3WOdfT4KRwLJKEGH47w, DkAAXowmSay2xh8qHxYogw, 2wNkjcmdRPaP7vG3JyQpPA], have only discovered non-quorum [{node-2}{DkAAXowmSay2xh8qHxYogw}{RURlT-L4RZ-1mDOgrk42VQ}{10.xx.xx.xx3}{10.xx.xx.xx3:9300}{dmv}, {node-3}{2wNkjcmdRPaP7vG3JyQpPA}{-DGPRFCfToa_j2JmeLmKSQ}{10.xx.xx.xx1}{10.xx.xx.xx1:9300}{dmv}, {node-1}{8cg3WOdfT4KRwLJKEGH47w}{JlWVVmoyTwaGj5Ynvc8zdA}{10.xx.xx.xxx}{10.xx.xx.xxx:9300}{dmv}]; discovery will continue using [10.xx.xx.xxx:9300, 10.xx.xx.xx1:9300] from hosts providers and [{node-2}{DkAAXowmSay2xh8qHxYogw}{RURlT-L4RZ-1mDOgrk42VQ}{10.xx.xx.xx3}{10.xx.xx.xx3:9300}{dmv}] from last-known cluster state; node term 93, last-accepted version 101 in term 93
[2022-03-04T07:43:36,100][WARN ][r.suppressed ] [node-2] path: /_cluster/health, params: {}
org.Elasticsearch.discovery.MasterNotDiscoveredException: null
at org.Elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:303) [Elasticsearch-8.0.0.jar:8.0.0]
at org.Elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:345) [Elasticsearch-8.0.0.jar:8.0.0]
at org.Elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:263) [Elasticsearch-8.0.0.jar:8.0.0]
at org.Elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:651) [Elasticsearch-8.0.0.jar:8.0.0]
at org.Elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:717) [Elasticsearch-8.0.0.jar:8.0.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:833) [?:?]

Kindly help

Regards,
Tahseen

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