Hi All,
I have created elasticsearch cluster beofre and it is working fine without any issue with the same configuration as given below. But I am not sure
why I am getting message "not enough master nodes discovered during pinging (found [[]], but needed [1])," while creating a new cluster having new
servers and nodes are not able to join the master node. I am fed up with this issue so I am asking for your help. Please let me know what I am doing wrong here.
Master Node -
cluster.name: cluster_dashbaord
node.name: ${HOSTNAME}
node.master: true
node.data: false
path.data: /var/fpwork/workspace_smtrs/elasticsearch-6.4.0/data
path.logs: /var/fpwork/workspace_smtrs/elasticsearch-6.4.0/logs
discovery.zen.ping.unicast.hosts: ["10.182.197.100","10.182.197.101","10.182.197.102"]
bootstrap.system_call_filter: false
action.auto_create_index: ".security*,.monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*"
network.host: 0.0.0.0
transport.tcp.compress: true
http.port : 9400
transport.tcp.port: 9500
discovery.zen.minimum_master_nodes: 1
network.publish_host: 0.0.0.0
network.bind_host: 0.0.0.0
Data Node 1 -
cluster.name: cluster_dashbaord
node.name: ${HOSTNAME}
node.master: false
node.data: true
path.data: /var/fpwork/workspace_smtrs/elasticsearch-6.4.0/data
path.logs: /var/fpwork/workspace_smtrs/elasticsearch-6.4.0/logs
discovery.zen.ping.unicast.hosts: ["10.182.197.100","10.182.197.101","10.182.197.102"]
bootstrap.system_call_filter: false
action.auto_create_index: ".security*,.monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*"
network.host: 0.0.0.0
transport.tcp.compress: true
http.port : 9400
transport.tcp.port: 9500
discovery.zen.minimum_master_nodes: 1
network.publish_host: 0.0.0.0
Data Node2 -
cluster.name: cluster_dashbaord
node.name: ${HOSTNAME}
node.master: false
node.data: true
path.data: /var/fpwork/workspace_smtrs/elasticsearch-6.4.0/data
path.logs: /var/fpwork/workspace_smtrs/elasticsearch-6.4.0/logs
discovery.zen.ping.unicast.hosts: ["10.182.197.100","10.182.197.101","10.182.197.102"]
bootstrap.system_call_filter: false
action.auto_create_index: ".security*,.monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*"
network.host: 0.0.0.0
transport.tcp.compress: true
http.port : 9400
transport.tcp.port: 9500
discovery.zen.minimum_master_nodes: 1
network.publish_host: 0.0.0.0
Console Snapshot
[2018-09-07T00:30:46,305][WARN ][o.e.d.z.ZenDiscovery ] [tr_cloud2] not enough master nodes discovered during pinging (found [[]], but needed [1]), pinging again
[2018-09-07T00:30:49,306][WARN ][o.e.d.z.ZenDiscovery ] [tr_cloud2] not enough master nodes discovered during pinging (found [[]], but needed [1]), pinging again
[2018-09-07T00:30:52,307][WARN ][o.e.d.z.ZenDiscovery ] [tr_cloud2] not enough master nodes discovered during pinging (found [[]], but needed [1]), pinging again
[2018-09-07T00:30:55,297][WARN ][o.e.n.Node ] [tr_cloud2] timed out while waiting for initial discovery state - timeout: 30s[2018-09-07T00:30:55,308][WARN ][o.e.d.z.ZenDiscovery ] [trs_cloud2] not enough master nodes discovered during pinging (found [[]], but needed [1]), pinging again
[2018-09-07T00:30:55,315][INFO ][o.e.x.s.t.n.SecurityNetty4HttperverTransport] [trs_cloud2] publish_address {192.168.0.37:9400}, bound_addresses {[::]:9400}
[2018-09-07T00:30:55,316][INFO ][o.e.n.Node ] [tr_cloud2] started[2018-09-07T00:30:58,309][WARN ][o.e.d.z.ZenDiscovery ] [trs_cloud2] not enough master nodes discovered during pinging (found [[]], but needed [1]), pinging again