Hi David,
Before opening another thread I want to understand if its the same issue:
[2020-02-23T10:08:20,864][WARN ][o.e.c.c.ClusterFormationFailureHelper] [ip-172-31-29-135] 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 [{ip-172-31-29-135}{1PueDBkSR7eQm9uTQrJqvA}{ivBbrdlqRFa2Y7-2ANeZ1A}{172.31.29.135}{172.31.29.135:9300}{lm}{aws_availability_zone=us-east-2b, ml.machine_memory=3885060096, xpack.installed=true, ml.max_open_jobs=20}]; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9300, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305, 172.31.26.186:9300, 172.31.29.246:9300, 172.31.29.187:9300, 172.31.29.135:9300] from hosts providers and [{ip-172-31-29-135}{1PueDBkSR7eQm9uTQrJqvA}{ivBbrdlqRFa2Y7-2ANeZ1A}{172.31.29.135}{172.31.29.135:9300}{lm}{aws_availability_zone=us-east-2b, ml.machine_memory=3885060096, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
with config:
bootstrap.memory_lock: true
node.name: ${HOSTNAME}
action.destructive_requires_name: true
indices.fielddata.cache.size: 1% # default is unbounded
cluster.name: ZZZZZZ
# only data nodes should have ingest and http capabilities
node.master: true
node.data: false
node.ingest: false
xpack.security.enabled: true
xpack.security.http.ssl.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.authc.api_key.enabled: true
xpack.monitoring.enabled: true
##
xpack.security.http.ssl.keystore.path: elastic-certificates.p12
xpack.security.http.ssl.truststore.path: elastic-certificates.p12
xpack.security.http.ssl.client_authentication: optional
##
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: elastic-certificates.p12
##
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: _ec2:privateIpv4_,localhost
plugin.mandatory: discovery-ec2
cloud.node.auto_attributes: true
cluster.routing.allocation.awareness.attributes: aws_availability_zone
discovery:
seed_providers: ec2
ec2.groups: ZZZZZZ
ec2.host_type: private_ip
ec2.tag.Cluster: ZZZZZZZZZ
ec2.availability_zones: us-east-2a,us-east-2b,us-east-2c
ec2.protocol: http # no need in HTTPS for internal AWS calls
ec2.endpoint: ec2.us-east-2.amazonaws.com
Version:
curl -k https://localhost:9200 -H "Authorization: BasicZZZZZZZZZZZ"
{
"name" : "ip-172-31-29-135",
"cluster_name" : "ZZZZZZZ",
"cluster_uuid" : "oXxZ_JERSR-9fhqwSu69Qw",
"version" : {
"number" : "7.6.0",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "7f634e9f44834fbc12724506cc1da681b0c3b1e3",
"build_date" : "2020-02-06T00:09:00.449973Z",
"build_snapshot" : false,
"lucene_version" : "8.4.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
Error from cluster:
curl -k https://localhost:9200/_cat/nodes -H "Authorization: BasicZZZZZZ"
{"error":
{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],
"type":"master_not_discovered_exception",
"reason":null},
"status":503}
Thanks.