[
https://issues.apache.org/jira/browse/MINIFICPP-2492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gábor Gyimesi updated MINIFICPP-2492:
-------------------------------------
Description:
Elasticsearch container startup fails in docker tests with the following error:
{code:java}
"ERROR", "message":"error downloading geoip database [GeoLite2-ASN.mmdb]",
"ERROR", "message":"error downloading geoip database [GeoLite2-City.mmdb]",
"ERROR", "message":"error downloading geoip database [GeoLite2-Country.mmdb]",
{code}
{code:java}
{ "@timestamp": "2024-11-18T17:38:59.671Z", "log.level": "ERROR",
"message": "error downloading geoip database [GeoLite2-ASN.mmdb]",
"ecs.version": "1.2.0", "service.name": "ES_ECS", "event.dataset":
"elasticsearch.server", "process.thread.name":
"elasticsearch[f7ec314d26c6][generic][T#3]", "log.logger":
"org.elasticsearch.ingest.geoip.GeoIpDownloader",
"elasticsearch.cluster.uuid": "ryQuloUqR36_8jsfnLqjVg",
"elasticsearch.node.id": "IJnfW8c-QfWw7XInKPhwkQ",
"elasticsearch.node.name": "f7ec314d26c6", "elasticsearch.cluster.name":
"docker-cluster", "error.type":
"org.elasticsearch.action.UnavailableShardsException", "error.message":
"[.geoip_databases][0] primary shard is not active Timeout: [1m], request:
[BulkShardRequest [[.geoip_databases][0]] containing [index
{[.geoip_databases][GeoLite2-ASN.mmdb_0_1731951449327], source[n/a, actual
length: [1mb], max length: 2kb]}]]", "error.stack_trace":
"org.elasticsearch.action.UnavailableShardsException: [.geoip_databases][0]
primary shard is not active Timeout: [1m], request: [BulkShardRequest
[[.geoip_databases][0]] containing [index
{[.geoip_databases][GeoLite2-ASN.mmdb_0_1731951449327], source[n/a, actual
length: [1mb], max length: 2kb]}]]\n\tat
org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase.retryBecauseUnavailable(TransportReplicationAction.java:1076)\n\tat
org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase.doRun(TransportReplicationAction.java:872)\n\tat
org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat
org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase$2.onTimeout(TransportReplicationAction.java:1031)\n\tat
org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:345)\n\tat
org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:263)\n\tat
org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:651)\n\tat
org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:714)\n\tat
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat
java.base/java.lang.Thread.run(Thread.java:833)\n"} {code}
was:
Elasticsearch container startup fails in docker tests with the following error:
{code:java}
"ERROR", "message":"error downloading geoip database [GeoLite2-ASN.mmdb]",
"ERROR", "message":"error downloading geoip database [GeoLite2-City.mmdb]",
"ERROR", "message":"error downloading geoip database [GeoLite2-Country.mmdb]",
{code}
> Elasticsearch tests transiently fail in CI
> ------------------------------------------
>
> Key: MINIFICPP-2492
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2492
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Gábor Gyimesi
> Priority: Major
>
> Elasticsearch container startup fails in docker tests with the following
> error:
> {code:java}
> "ERROR", "message":"error downloading geoip database [GeoLite2-ASN.mmdb]",
> "ERROR", "message":"error downloading geoip database [GeoLite2-City.mmdb]",
> "ERROR", "message":"error downloading geoip database
> [GeoLite2-Country.mmdb]", {code}
> {code:java}
> { "@timestamp": "2024-11-18T17:38:59.671Z", "log.level": "ERROR",
> "message": "error downloading geoip database [GeoLite2-ASN.mmdb]",
> "ecs.version": "1.2.0", "service.name": "ES_ECS", "event.dataset":
> "elasticsearch.server", "process.thread.name":
> "elasticsearch[f7ec314d26c6][generic][T#3]", "log.logger":
> "org.elasticsearch.ingest.geoip.GeoIpDownloader",
> "elasticsearch.cluster.uuid": "ryQuloUqR36_8jsfnLqjVg",
> "elasticsearch.node.id": "IJnfW8c-QfWw7XInKPhwkQ",
> "elasticsearch.node.name": "f7ec314d26c6", "elasticsearch.cluster.name":
> "docker-cluster", "error.type":
> "org.elasticsearch.action.UnavailableShardsException", "error.message":
> "[.geoip_databases][0] primary shard is not active Timeout: [1m], request:
> [BulkShardRequest [[.geoip_databases][0]] containing [index
> {[.geoip_databases][GeoLite2-ASN.mmdb_0_1731951449327], source[n/a, actual
> length: [1mb], max length: 2kb]}]]", "error.stack_trace":
> "org.elasticsearch.action.UnavailableShardsException: [.geoip_databases][0]
> primary shard is not active Timeout: [1m], request: [BulkShardRequest
> [[.geoip_databases][0]] containing [index
> {[.geoip_databases][GeoLite2-ASN.mmdb_0_1731951449327], source[n/a, actual
> length: [1mb], max length: 2kb]}]]\n\tat
> org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase.retryBecauseUnavailable(TransportReplicationAction.java:1076)\n\tat
>
> org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase.doRun(TransportReplicationAction.java:872)\n\tat
>
> org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat
>
> org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase$2.onTimeout(TransportReplicationAction.java:1031)\n\tat
>
> org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:345)\n\tat
>
> org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:263)\n\tat
>
> org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:651)\n\tat
>
> org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:714)\n\tat
>
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat
>
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat
> java.base/java.lang.Thread.run(Thread.java:833)\n"} {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)