Master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster version 7.13.2

Node 1 172.24.10.103
Node 1 172.24.10.101

Description:

1.Elasticsearch version 7.13

  1. Elasticsearch cluster 2 Node

issue is master_not_discovered_exception

Node 1 Config elasticsearch.yml

cluster.name: POWER-CLUSTER-01
node.name: ${HOSTNAME}
node.master: true
node.data: true
path.logs: /var/log/elasticsearch
path.data: /usr/share/elasticsearch/data
network.host: 0.0.0.0
http.port: 9200
transport.tcp.port: 9300
discovery.seed_hosts: ["172.24.10.103:9300","172.24.10.101:9300"]
cluster.initial_master_nodes: ["172.24.10.103:9300", "172.24.10.101:9300"]

Node 2 Config elasticsearch.yml

cluster.name: POWER-CLUSTER-01
node.name: ${HOSTNAME}
node.master: true
node.data: true
path.logs: /var/log/elasticsearch
path.data: /usr/share/elasticsearch/data
network.host: 0.0.0.0
http.port: 9200
transport.tcp.port: 9300
discovery.seed_hosts: ["172.24.10.103:9300","172.24.10.101:9300"]
cluster.initial_master_nodes: ["172.24.10.103:9300", "172.24.10.101:9300"]

##################### log Node 1 #####################################
[2021-06-17T11:48:28,492][WARN ][o.e.c.c.ClusterFormationFailureHelper] [elasticsearch-01] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [172.24.10.103:9300, 172.24.10.101:9300] to bootstrap a cluster: have discovered [{elasticsearch-01}{hvBqKTsIQf6zFqLQHuVY7w}{klxOhN5cRPuV3ny7flVh_A}{172.24.10.103}{172.24.10.103:9300}{cdfhilmrstw}]; discovery will continue using [172.24.10.101:9300] from hosts providers and [{elasticsearch-01}{hvBqKTsIQf6zFqLQHuVY7w}{klxOhN5cRPuV3ny7flVh_A}{172.24.10.103}{172.24.10.103:9300}{cdfhilmrstw}] from last-known cluster state; node term 0, last-accepted version 0 in term 0

##################### log Node 2 #####################################
[2021-06-17T11:46:54,201][WARN ][o.e.c.c.ClusterFormationFailureHelper] [elasticsearch-02] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [172.24.10.103:9300, 172.24.10.101:9300] to bootstrap a cluster: have discovered [{elasticsearch-02}{kp0dgWjoSk6J1axJokDEYA}{kyNIwd-USbedBuy-97qBIQ}{172.18.0.1}{172.18.0.1:9300}{cdfhilmrstw}, {elasticsearch-01}{hvBqKTsIQf6zFqLQHuVY7w}{klxOhN5cRPuV3ny7flVh_A}{172.24.10.103}{172.24.10.103:9300}{cdfhilmrstw}]; discovery will continue using [172.24.10.103:9300, 172.24.10.101:9300] from hosts providers and [{elasticsearch-02}{kp0dgWjoSk6J1axJokDEYA}{kyNIwd-USbedBuy-97qBIQ}{172.18.0.1}{172.18.0.1:9300}{cdfhilmrstw}] from last-known cluster state; node term 0, last-accepted version 0 in term 0

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