Problems Joining a Cluster

It doesn't, and saying incorrect stuff like this is really unhelpful. This log message says this node positively hasn't joined a cluster yet:

master not discovered yet, this node has not previously joined a bootstrapped cluster, and this node must discover master-eligible nodes [host1] to bootstrap a cluster: have discovered [{host2}{...}]; discovery will continue using [127.0.0.1:9300, {...}] from hosts providers and [{host2}{...}] from last-known cluster state; node term 0, last-accepted version 0 in term 0; for troubleshooting guidance, see https://www.elastic.co/guide/en/elasticsearch/reference/8.12/discovery-troubleshooting.html

It also says that cluster.initial_master_nodes is set (it shouldn't be) and discovery.seed_hosts is not set (it should be). See these docs for more details.

1 Like