Hi Guys,
After i upgraded from 6.7 to 7.0, i'm having the issues to startup my elasticsearch and cluster,
Anyone can assist me? I don't know what's wrong. Is it syntax errors?
Below are my config and error logs,
elasticsearch.yml [node 1]
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
xpack.security.enabled: false
bootstrap.memory_lock: true
cluster.name: z3-elk.stack
node.name: z3elk-01
network.host: 10.3.3.41
http.port: 9200
node.master: true
node.data: true
discovery.zen.ping.unicast.hosts: ["10.3.3.41", "10.3.3.42"]
discovery.zen.minimum_master_nodes: 1
elasticsearch.yml [node 2]
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
xpack.security.enabled: false
bootstrap.memory_lock: true
cluster.name: z3-elk.stack
node.name: z3elk-02
network.host: 10.3.3.42
http.port: 9200
node.master: false
node.data: true
discovery.zen.ping.unicast.hosts: ["10.3.3.41", "10.3.3.42"]
elasticsearch cluster logs,
[2019-05-02T16:45:37,606][INFO ][o.e.b.BootstrapChecks ] [z3elk-01] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2019-05-02T16:45:47,623][WARN ][o.e.c.c.ClusterFormationFailureHelper] [z3elk-01] 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 []; discovery will continue using [10.3.3.42:9300] from hosts providers and [{z3elk-01}{n-fNTnCQS_eTLm_W4P5Rag}{x-h4DWxCS_ePNiEwdnPnbg}{10.3.3.41}{10.3.3.41:9300}{ml.machine_memory=8203431936, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2019-05-02T16:45:57,625][WARN ][o.e.c.c.ClusterFormationFailureHelper] [z3elk-01] 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 []; discovery will continue using [10.3.3.42:9300] from hosts providers and [{z3elk-01}{n-fNTnCQS_eTLm_W4P5Rag}{x-h4DWxCS_ePNiEwdnPnbg}{10.3.3.41}{10.3.3.41:9300}{ml.machine_memory=8203431936, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2019-05-02T16:46:07,626][WARN ][o.e.c.c.ClusterFormationFailureHelper] [z3elk-01] 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 []; discovery will continue using [10.3.3.42:9300] from hosts providers and [{z3elk-01}{n-fNTnCQS_eTLm_W4P5Rag}{x-h4DWxCS_ePNiEwdnPnbg}{10.3.3.41}{10.3.3.41:9300}{ml.machine_memory=8203431936, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2019-05-02T16:46:07,642][WARN ][o.e.n.Node ] [z3elk-01] timed out while waiting for initial discovery state - timeout: 30s
[2019-05-02T16:46:07,648][INFO ][o.e.h.AbstractHttpServerTransport] [z3elk-01] publish_address {10.3.3.41:9200}, bound_addresses {10.3.3.41:9200}
[2019-05-02T16:46:07,649][INFO ][o.e.n.Node ] [z3elk-01] started
[2019-05-02T16:50:47,560][DEBUG][o.e.a.a.i.t.g.TransportGetIndexTemplatesAction] [z3elk-01] no known master node, scheduling a retry
[2019-05-02T16:50:47,659][WARN ][o.e.c.c.ClusterFormationFailureHelper] [z3elk-01] 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 []; discovery will continue using [10.3.3.42:9300] from hosts providers and [{z3elk-01}{n-fNTnCQS_eTLm_W4P5Rag}{x-h4DWxCS_ePNiEwdnPnbg}{10.3.3.41}{10.3.3.41:9300}{ml.machine_memory=8203431936, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2019-05-02T16:50:57,660][WARN ][o.e.c.c.ClusterFormationFailureHelper] [z3elk-01] 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 []; discovery will continue using [10.3.3.42:9300] from hosts providers and [{z3elk-01}{n-fNTnCQS_eTLm_W4P5Rag}{x-h4DWxCS_ePNiEwdnPnbg}{10.3.3.41}{10.3.3.41:9300}{ml.machine_memory=8203431936, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2019-05-02T16:51:07,661][WARN ][o.e.c.c.ClusterFormationFailureHelper] [z3elk-01] 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 []; discovery will continue using [10.3.3.42:9300] from hosts providers and [{z3elk-01}{n-fNTnCQS_eTLm_W4P5Rag}{x-h4DWxCS_ePNiEwdnPnbg}{10.3.3.41}{10.3.3.41:9300}{ml.machine_memory=8203431936, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0