Hi, we just moved to Elasticseach 7.0.0.
We're running into issues shown as below:
[2019-04-18T00:02:49,213][WARN ][o.e.c.c.ClusterFormationFailureHelper] [dev-efk-backend03] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{dev-efk-backend02}{iO6O8mpUQaGtCk8NWO5X9w}{n4xlapSxSAm6MxUMF6eDBA}{192.168.0.104}{192.168.0.104:9300}{ml.machine_memory=16171651072, ml.max_open_jobs=20, xpack.installed=true}, {dev-efk-backend05}{gKWS3gxIRs-P5FFlvMTm4A}{EgRlpCNPRZG5jtjhNuRHPQ}{192.168.0.239}{192.168.0.239:9300}{ml.machine_memory=16171651072, ml.max_open_jobs=20, xpack.installed=true}, {dev-efk-backend04}{WPeuO5I1SDWZkVTdpVGqlQ}{yJ6DOVOeSnWmzIDk5SnGmw}{192.168.0.21}{192.168.0.21:9300}{ml.machine_memory=16171651072, ml.max_open_jobs=20, xpack.installed=true}, {dev-efk-backend01}{9-ePQkHuS_6IAyGpYSCyDg}{T2I05C5UQKOn0UjMi94EgQ}{192.168.0.202}{192.168.0.202:9300}{ml.machine_memory=16171651072, ml.max_open_jobs=20, xpack.installed=true}]; discovery will continue using [192.168.0.202:9300, 192.168.0.104:9300, 192.168.0.239:9300, 192.168.0.21:9300] from hosts providers and [{dev-efk-backend03}{xYDB_57RTQaUmCzxQVMm-A}{Qg0WZl8VT-On8d64ook-Mw}{192.168.0.142}{192.168.0.142:9300}{ml.machine_memory=16171651072, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
I followed the other topic (Master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster) and did some tweaking, so my elasticsearch.yml looks like this:
cluster.initial_master_nodes: dev-efk-backend01,dev-efk-backend02,dev-efk-backend05,dev-efk-backend03,dev-efk-backend04
cluster.name: elk-dev
discovery.seed_hosts: ip-192-168-0-202.ec2.internal:9300,ip-192-168-0-104.ec2.internal:9300,ip-192-168-0-239.ec2.internal:9300,ip-192-168-0-142.ec2.internal:9300,ip-192-168-0-21.ec2.internal:9300
http.port: 9200
network.host: 0.0.0.0
node.data: true
node.master: true
node.name: dev-efk-backend01
transport.tcp.port: 9300
I have two questions:
- Because we have used ansible elastic playbook, so the
cluster.initial_master_nodes
anddiscovery.seed_hosts
look different. Do does the proper yml syntax matter here?
Do we have to set these two like this:
cluster.initial_master_nodes:
-dev-efk-backend01
-dev-efk-backend02
-dev-efk-backend05
-dev-efk-backend03
-dev-efk-backend04
- I read it in the other post, this
cluster.initial_master_nodes
only needs to be set on the master node, then start the master first and restart the rest of the nodes. Is this setting and order really necessary?
Thank you.