I created another environment, to have a clean start.
Api response from http://10.246.38.22:9200/
name "ip-10-246-38-22.ec2.internal"
cluster_name "search-devqa-j17-v16-us-east-1-es-cluster"
cluster_uuid "fY7X3_5kTESZna90s97BBw"
version number "8.4.2"
build_flavor "default"
build_type "rpm"
build_hash "89f8c6d8429db93b816403ee75e5c270b43a940a"
build_date "2022-09-14T16:26:04.382547801Z"
build_snapshot false
lucene_version "9.3.0"
minimum_wire_compatibility_version "7.17.0"
minimum_index_compatibility_version "7.0.0"
tagline "You Know, for Search"
The other one: http://10.246.37.230:9200/
name "ip-10-246-37-230.ec2.internal"
cluster_name "search-devqa-j17-v16-us-east-1-es-cluster"
cluster_uuid "fY7X3_5kTESZna90s97BBw"
version
number "8.4.2"
build_flavor "default"
build_type "rpm"
build_hash "89f8c6d8429db93b816403ee75e5c270b43a940a"
build_date "2022-09-14T16:26:04.382547801Z"
build_snapshot false
lucene_version "9.3.0"
minimum_wire_compatibility_version "7.17.0"
minimum_index_compatibility_version "7.0.0"
tagline "You Know, for Search"
Both cluster name and uuid match.
The log from the first node:
[2022-11-24T14:14:05,955][INFO ][o.e.e.NodeEnvironment ] [ip-10-246-38-22.ec2.internal] using [1] data paths, mounts [[/ (/dev/nvme0n1p1)]], net usable_space [26gb], net total_space [29.9gb], types [xfs]
[2022-11-24T14:14:05,956][INFO ][o.e.e.NodeEnvironment ] [ip-10-246-38-22.ec2.internal] heap size [2gb], compressed ordinary object pointers [true]
[2022-11-24T14:14:06,043][INFO ][o.e.n.Node ] [ip-10-246-38-22.ec2.internal] node name [ip-10-246-38-22.ec2.internal], node ID [nHg6tHnpSceEspaWkQItLw], cluster name [search-devqa-j17-v16-us-east-1-es-cluster], roles [remote_cluster_client, master, data_warm, data_content, transform, data_hot, ml, data_frozen, ingest, data_cold, data]
[2022-11-24T14:14:11,261][INFO ][o.e.x.s.Security ] [ip-10-246-38-22.ec2.internal] Security is disabled
[2022-11-24T14:14:11,416][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [ip-10-246-38-22.ec2.internal] [controller/4910] [Main.cc@123] controller (64 bit): Version 8.4.2 (Build 158cee2efc2db4) Copyright (c) 2022 Elasticsearch BV
[2022-11-24T14:14:12,007][INFO ][o.e.t.n.NettyAllocator ] [ip-10-246-38-22.ec2.internal] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=1mb, suggested_max_allocation_size=1mb, factors={es.unsafe.use_netty_default_chunk_and_page_size=false, g1gc_enabled=true, g1gc_region_size=4mb}]
[2022-11-24T14:14:12,044][INFO ][o.e.i.r.RecoverySettings ] [ip-10-246-38-22.ec2.internal] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
[2022-11-24T14:14:12,094][INFO ][o.e.d.DiscoveryModule ] [ip-10-246-38-22.ec2.internal] using discovery type [multi-node] and seed hosts providers [settings, ec2]
[2022-11-24T14:14:14,144][INFO ][o.e.n.Node ] [ip-10-246-38-22.ec2.internal] initialized
[2022-11-24T14:14:14,145][INFO ][o.e.n.Node ] [ip-10-246-38-22.ec2.internal] starting ...
[2022-11-24T14:14:14,172][INFO ][o.e.x.s.c.f.PersistentCache] [ip-10-246-38-22.ec2.internal] persistent cache index loaded
[2022-11-24T14:14:14,173][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [ip-10-246-38-22.ec2.internal] deprecation component started
[2022-11-24T14:14:14,354][INFO ][o.e.t.TransportService ] [ip-10-246-38-22.ec2.internal] publish_address {10.246.38.22:9300}, bound_addresses {10.246.38.22:9300}, {[::1]:9300}, {127.0.0.1:9300}
[2022-11-24T14:14:14,864][INFO ][o.e.b.BootstrapChecks ] [ip-10-246-38-22.ec2.internal] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2022-11-24T14:14:14,868][WARN ][o.e.c.c.ClusterBootstrapService] [ip-10-246-38-22.ec2.internal] this node is locked into cluster UUID [fY7X3_5kTESZna90s97BBw] but [cluster.initial_master_nodes] is set to [10.246.37.230, 10.246.38.22, 10.246.38.215]; remove this setting to avoid possible data loss caused by subsequent cluster bootstrap attempts
[2022-11-24T14:14:14,998][INFO ][o.e.c.s.MasterService ] [ip-10-246-38-22.ec2.internal] elected-as-master ([1] nodes joined)[_FINISH_ELECTION_, {ip-10-246-38-22.ec2.internal}{nHg6tHnpSceEspaWkQItLw}{gUvy4v04TOmLZTiANhj0fA}{ip-10-246-38-22.ec2.internal}{10.246.38.22}{10.246.38.22:9300}{cdfhilmrstw} completing election], term: 2, version: 28, delta: master node changed {previous [], current [{ip-10-246-38-22.ec2.internal}{nHg6tHnpSceEspaWkQItLw}{gUvy4v04TOmLZTiANhj0fA}{ip-10-246-38-22.ec2.internal}{10.246.38.22}{10.246.38.22:9300}{cdfhilmrstw}]}
[2022-11-24T14:14:15,086][INFO ][o.e.c.s.ClusterApplierService] [ip-10-246-38-22.ec2.internal] master node changed {previous [], current [{ip-10-246-38-22.ec2.internal}{nHg6tHnpSceEspaWkQItLw}{gUvy4v04TOmLZTiANhj0fA}{ip-10-246-38-22.ec2.internal}{10.246.38.22}{10.246.38.22:9300}{cdfhilmrstw}]}, term: 2, version: 28, reason: Publication{term=2, version=28}
[2022-11-24T14:14:15,218][INFO ][o.e.r.s.FileSettingsService] [ip-10-246-38-22.ec2.internal] starting file settings watcher ...
[2022-11-24T14:14:15,240][INFO ][o.e.h.AbstractHttpServerTransport] [ip-10-246-38-22.ec2.internal] publish_address {10.246.38.22:9200}, bound_addresses {[::]:9200}
[2022-11-24T14:14:15,242][INFO ][o.e.n.Node ] [ip-10-246-38-22.ec2.internal] started {ip-10-246-38-22.ec2.internal}{nHg6tHnpSceEspaWkQItLw}{gUvy4v04TOmLZTiANhj0fA}{ip-10-246-38-22.ec2.internal}{10.246.38.22}{10.246.38.22:9300}{cdfhilmrstw}{xpack.installed=true, aws_availability_zone=us-east-1c, ml.max_jvm_size=2147483648, ml.allocated_processors=2, ml.machine_memory=4072448000}
[2022-11-24T14:14:15,238][INFO ][o.e.r.s.FileSettingsService] [ip-10-246-38-22.ec2.internal] file settings service up and running [tid=48]
[2022-11-24T14:14:15,779][INFO ][o.e.l.LicenseService ] [ip-10-246-38-22.ec2.internal] license [aec6cce7-5f05-4fa8-9f60-86085d30ccdc] mode [basic] - valid
[2022-11-24T14:14:15,784][INFO ][o.e.g.GatewayService ] [ip-10-246-38-22.ec2.internal] recovered [1] indices into cluster_state
[2022-11-24T14:14:15,864][ERROR][o.e.i.g.GeoIpDownloader ] [ip-10-246-38-22.ec2.internal] exception during geoip databases update
org.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active
at org.elasticsearch.ingest.geoip.GeoIpDownloader.updateDatabases(GeoIpDownloader.java:134) ~[?:?]
at org.elasticsearch.ingest.geoip.GeoIpDownloader.runDownloader(GeoIpDownloader.java:274) ~[?:?]
at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:102) ~[?:?]
at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:48) ~[?:?]
at org.elasticsearch.persistent.NodePersistentTasksExecutor$1.doRun(NodePersistentTasksExecutor.java:42) ~[elasticsearch-8.4.2.jar:?]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:769) ~[elasticsearch-8.4.2.jar:?]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26) ~[elasticsearch-8.4.2.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[2022-11-24T14:14:16,702][INFO ][o.e.c.r.a.AllocationService] [ip-10-246-38-22.ec2.internal] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.geoip_databases][0]]])." previous.health="RED" reason="shards started [[.geoip_databases][0]]"
[2022-11-24T14:14:17,768][INFO ][o.e.i.g.DatabaseNodeService] [ip-10-246-38-22.ec2.internal] successfully loaded geoip database file [GeoLite2-Country.mmdb]
[2022-11-24T14:14:17,867][INFO ][o.e.i.g.DatabaseNodeService] [ip-10-246-38-22.ec2.internal] successfully loaded geoip database file [GeoLite2-ASN.mmdb]
[2022-11-24T14:14:20,676][INFO ][o.e.i.g.DatabaseNodeService] [ip-10-246-38-22.ec2.internal] successfully loaded geoip database file [GeoLite2-City.mmdb]
To be honest I have no clue what's wrong. I have not have issues running it in docker, but here ...
Can you help, please?