Cant make cluster work

hi,
i cant make the clustering work, ive staticly defined:
cluster.name: elasti-flow
node.name: node-1 on one of the nodes,
and node.name: node-2 on the other.
discovery.seed_hosts: ["10.60.35.252", "10.60.35.253"] on both of them
cluster.initial_master_nodes: ["node-1", "node-2"] on both of them
these are the logs on node-1:

[2019-07-22T16:57:08,039][WARN ][o.e.c.c.ClusterFormationFailureHelper] [node-1] master not discovered yet: have discovered [{node-2}{3--epaJ6QcaO0wM6V1SBeQ}{PDnjc5kARJOkQL7MVEPFoQ}{10.60.35.253}{10.60.35.253:9300}{ml.machine_memory=67334033408, ml.max_open_jobs=20, xpack.installed=true}]; discovery will continue using [10.60.35.253:9300] from hosts providers and [{node-1}{u7vVY0q2TnCTYMxRtcqI5w}{mc2LrDRCQaqH-vmSPa9Apg}{10.60.35.252}{10.60.35.252:9300}{ml.machine_memory=67334029312, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0

and the log on node-2:

[2019-07-22T17:04:07,306][WARN ][o.e.c.c.ClusterFormationFailureHelper] [node-2] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [node-1, node-2] to bootstrap a cluster: have discovered ; discovery will continue using [10.60.35.252:9300] from hosts providers and [{node-2}{3--epaJ6QcaO0wM6V1SBeQ}{PDnjc5kARJOkQL7MVEPFoQ}{10.60.35.253}{10.60.35.253:9300}{ml.machine_memory=67334033408, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0

i have connectivity between them, i can curl port 9200 to each other.

node-1 is not master-eligible (i.e. has node.master: false) but it is listed in cluster.initial_master_nodes. Either make it master-eligible or remove it from cluster.initial_master_nodes.

now its working :slight_smile:
many thanks

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