Skip to content

Snapshot Repository with azure Managed Identity #128046

@muecahit94

Description

@muecahit94

Elasticsearch Version

8.18.1, 9.0.1

Installed Plugins

No response

Java Version

24

OS Version

Red Hat Enterprise Linux release 9.5 (Plow)

Problem Description

Hi,
We have ECK-Stack installed on our AKS clusters and use snapshots to back up our Elasticsearch instances to a Storage account on Azure.
At the moment we use the Access Key option to access the Storage Account, but we want to change it and use Managed Identities.

We have set it up as described here, but it works just sometimes and very unstable.
When I want to create a Snapshot Repository, it takes very long or runs sometimes in a timeout, or when I want to verify repository(test), it takes long and works or fails with in a timeout.
The same things with the Access Key works very smooth and fast.

We get alot of these warnings when I want to create/edit a Snapshot Repository or test the connection, and every click on Kibana takes very long, also when it runs in timeout when I do things over the Console. Logs are added in the Logs section

The Setup for this testing enviroment has a Master and a Data Node.

Versions:
ECK-Operator Helm: 3.0.0
ECK-Stack Helm: 0.15.0
Elasticsearch: 9.0.1
Kibana: 9.0.1

Steps to Reproduce

Install ECK-Operator, then start an ECK-Stack with a master and a data node.
Prepare Snapshot Repository as described here and create a snapshot.

Logs (if relevant)

{"@timestamp":"2025-05-13T12:53:07.695Z", "log.level": "WARN", "message":"Not entitled: component [repository-azure], module [reactor.netty.core], class [class reactor.netty.resources.DefaultLoopResources$EventLoopFactory], entitlement [manage_threads]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"elasticsearch[elasticsearch-es-masters-0][azure_event_loop][T#1]","log.logger":"org.elasticsearch.entitlement.runtime.policy.PolicyManager.repository-azure.reactor.netty.core","trace.id":"3ece9635beb5887764779e7e95c58c77","elasticsearch.cluster.uuid":"ID","elasticsearch.node.id":"ID","elasticsearch.node.name":"elasticsearch-es-masters-0","elasticsearch.cluster.name":"elasticsearch","error.type":"org.elasticsearch.entitlement.runtime.api.NotEntitledException","error.message":"component [repository-azure], module [reactor.netty.core], class [class reactor.netty.resources.DefaultLoopResources$EventLoopFactory], entitlement [manage_threads]","error.stack_trace":"org.elasticsearch.entitlement.runtime.api.NotEntitledException: component [repository-azure], module [reactor.netty.core], class [class reactor.netty.resources.DefaultLoopResources$EventLoopFactory], entitlement [manage_threads]\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.notEntitled(PolicyManager.java:690)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.checkFlagEntitlement(PolicyManager.java:632)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.checkEntitlementPresent(PolicyManager.java:722)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.checkManageThreadsEntitlement(PolicyManager.java:714)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.api.ElasticsearchEntitlementChecker.check$java_lang_Thread$setDaemon(ElasticsearchEntitlementChecker.java:2665)\n\tat java.base/java.lang.Thread.setDaemon(Thread.java)\n\tat [email protected]/reactor.netty.resources.DefaultLoopResources$EventLoopFactory.newThread(DefaultLoopResources.java:300)\n\tat [email protected]/io.netty.util.concurrent.ThreadPerTaskExecutor.execute(ThreadPerTaskExecutor.java:32)\n\tat [email protected]/io.netty.util.internal.ThreadExecutorMap$1.execute(ThreadExecutorMap.java:57)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.doStartThread(SingleThreadEventExecutor.java:986)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.startThread(SingleThreadEventExecutor.java:955)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:838)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.execute0(SingleThreadEventExecutor.java:827)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:817)\n\tat java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:124)\n\tat [email protected]/io.netty.util.concurrent.AbstractEventExecutor.submit(AbstractEventExecutor.java:117)\n\tat [email protected]/reactor.netty.resources.ColocatedEventLoopGroup.<init>(ColocatedEventLoopGroup.java:59)\n\tat [email protected]/reactor.netty.resources.LoopResources.colocate(LoopResources.java:87)\n\tat [email protected]/reactor.netty.resources.DefaultLoopResources.cacheNioClientLoops(DefaultLoopResources.java:179)\n\tat [email protected]/reactor.netty.resources.DefaultLoopResources.onClient(DefaultLoopResources.java:147)\n\tat [email protected]/reactor.netty.tcp.TcpResources.onClient(TcpResources.java:263)\n\tat [email protected]/reactor.netty.resources.PooledConnectionProvider.lambda$acquire$2(PooledConnectionProvider.java:157)\n\tat [email protected]/reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:58)\n\tat [email protected]/reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.lambda$subscribe$0(HttpClientConnect.java:273)\n\tat [email protected]/reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:58)\n\tat [email protected]/reactor.core.publisher.FluxRetryWhen.subscribe(FluxRetryWhen.java:77)\n\tat [email protected]/reactor.core.publisher.MonoRetryWhen.subscribeOrReturn(MonoRetryWhen.java:46)\n\tat [email protected]/reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:57)\n\tat [email protected]/reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.subscribe(HttpClientConnect.java:276)\n\tat [email protected]/reactor.core.publisher.Mono.subscribe(Mono.java:4491)\n\tat [email protected]/reactor.core.publisher.Mono.block(Mono.java:1741)\n\tat [email protected]/com.azure.core.http.netty.NettyAsyncHttpClient.sendSync(NettyAsyncHttpClient.java:195)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:51)\n\tat [email protected]/com.azure.core.http.policy.HttpLoggingPolicy.processSync(HttpLoggingPolicy.java:175)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.implementation.http.policy.InstrumentationPolicy.processSync(InstrumentationPolicy.java:101)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.policy.RetryPolicy.attemptSync(RetryPolicy.java:217)\n\tat [email protected]/com.azure.core.http.policy.RetryPolicy.attemptSync(RetryPolicy.java:233)\n\tat [email protected]/com.azure.core.http.policy.RetryPolicy.attemptSync(RetryPolicy.java:233)\n\tat [email protected]/com.azure.core.http.policy.RetryPolicy.processSync(RetryPolicy.java:161)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.policy.AddHeadersPolicy.processSync(AddHeadersPolicy.java:66)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.policy.HttpPipelineSyncPolicy.processSync(HttpPipelineSyncPolicy.java:51)\n\tat [email protected]/com.azure.core.http.policy.UserAgentPolicy.processSync(UserAgentPolicy.java:174)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.HttpPipeline.sendSync(HttpPipeline.java:138)\n\tat [email protected]/com.azure.identity.implementation.HttpPipelineAdapter.send(HttpPipelineAdapter.java:67)\n\tat [email protected]/com.microsoft.aad.msal4j.HttpHelper.executeHttpRequestWithRetries(HttpHelper.java:137)\n\tat [email protected]/com.microsoft.aad.msal4j.HttpHelper.executeHttpRequest(HttpHelper.java:52)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.executeRequest(AadInstanceDiscoveryProvider.java:299)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.sendInstanceDiscoveryRequest(AadInstanceDiscoveryProvider.java:249)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.doInstanceDiscoveryAndCache(AadInstanceDiscoveryProvider.java:360)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.getMetadataEntry(AadInstanceDiscoveryProvider.java:107)\n\tat [email protected]/com.microsoft.aad.msal4j.AuthenticationResultSupplier.getAuthorityWithPrefNetworkHost(AuthenticationResultSupplier.java:39)\n\tat [email protected]/com.microsoft.aad.msal4j.AcquireTokenSilentSupplier.execute(AcquireTokenSilentSupplier.java:23)\n\tat [email protected]/com.microsoft.aad.msal4j.AcquireTokenByClientCredentialSupplier.execute(AcquireTokenByClientCredentialSupplier.java:46)\n\tat [email protected]/com.microsoft.aad.msal4j.AuthenticationResultSupplier.get(AuthenticationResultSupplier.java:69)\n\tat [email protected]/com.microsoft.aad.msal4j.AuthenticationResultSupplier.get(AuthenticationResultSupplier.java:18)\n\tat java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1814)\n\tat [email protected]/io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)\n\tat [email protected]/io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)\n\tat [email protected]/io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:998)\n\tat [email protected]/io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)\n\tat [email protected]/org.elasticsearch.repositories.azure.SocketAccess.lambda$doPrivilegedVoidException$0(SocketAccess.java:47)\n\tat java.base/java.security.AccessController.doPrivileged(AccessController.java:251)\n\tat [email protected]/org.elasticsearch.repositories.azure.SocketAccess.doPrivilegedVoidException(SocketAccess.java:46)\n\tat [email protected]/org.elasticsearch.repositories.azure.executors.PrivilegedExecutor.lambda$execute$0(PrivilegedExecutor.java:28)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:977)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)\n\tat java.base/java.lang.Thread.run(Thread.java:1447)\n"}
{"@timestamp":"2025-05-13T12:53:10.775Z", "log.level": "WARN", "message":"Not entitled: component [repository-azure], module [reactor.netty.core], class [class reactor.netty.resources.DefaultLoopResources$EventLoopFactory], entitlement [manage_threads]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"elasticsearch[elasticsearch-es-masters-0][azure_event_loop][T#1]","log.logger":"org.elasticsearch.entitlement.runtime.policy.PolicyManager.repository-azure.reactor.netty.core","trace.id":"3ece9635beb5887764779e7e95c58c77","elasticsearch.cluster.uuid":"ID","elasticsearch.node.id":"ID","elasticsearch.node.name":"elasticsearch-es-masters-0","elasticsearch.cluster.name":"elasticsearch","error.type":"org.elasticsearch.entitlement.runtime.api.NotEntitledException","error.message":"component [repository-azure], module [reactor.netty.core], class [class reactor.netty.resources.DefaultLoopResources$EventLoopFactory], entitlement [manage_threads]","error.stack_trace":"org.elasticsearch.entitlement.runtime.api.NotEntitledException: component [repository-azure], module [reactor.netty.core], class [class reactor.netty.resources.DefaultLoopResources$EventLoopFactory], entitlement [manage_threads]\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.notEntitled(PolicyManager.java:690)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.checkFlagEntitlement(PolicyManager.java:632)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.checkEntitlementPresent(PolicyManager.java:722)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.checkManageThreadsEntitlement(PolicyManager.java:714)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.api.ElasticsearchEntitlementChecker.check$java_lang_Thread$setDaemon(ElasticsearchEntitlementChecker.java:2665)\n\tat java.base/java.lang.Thread.setDaemon(Thread.java)\n\tat [email protected]/reactor.netty.resources.DefaultLoopResources$EventLoopFactory.newThread(DefaultLoopResources.java:300)\n\tat [email protected]/io.netty.util.concurrent.ThreadPerTaskExecutor.execute(ThreadPerTaskExecutor.java:32)\n\tat [email protected]/io.netty.util.internal.ThreadExecutorMap$1.execute(ThreadExecutorMap.java:57)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.doStartThread(SingleThreadEventExecutor.java:986)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.startThread(SingleThreadEventExecutor.java:955)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:838)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.execute0(SingleThreadEventExecutor.java:827)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:817)\n\tat java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:124)\n\tat [email protected]/io.netty.util.concurrent.AbstractEventExecutor.submit(AbstractEventExecutor.java:117)\n\tat [email protected]/reactor.netty.resources.ColocatedEventLoopGroup.<init>(ColocatedEventLoopGroup.java:59)\n\tat [email protected]/reactor.netty.resources.LoopResources.colocate(LoopResources.java:87)\n\tat [email protected]/reactor.netty.resources.DefaultLoopResources.cacheNioClientLoops(DefaultLoopResources.java:179)\n\tat [email protected]/reactor.netty.resources.DefaultLoopResources.onClient(DefaultLoopResources.java:147)\n\tat [email protected]/reactor.netty.tcp.TcpResources.onClient(TcpResources.java:263)\n\tat [email protected]/reactor.netty.resources.PooledConnectionProvider.lambda$acquire$2(PooledConnectionProvider.java:157)\n\tat [email protected]/reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:58)\n\tat [email protected]/reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.lambda$subscribe$0(HttpClientConnect.java:273)\n\tat [email protected]/reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:58)\n\tat [email protected]/reactor.core.publisher.FluxRetryWhen.subscribe(FluxRetryWhen.java:77)\n\tat [email protected]/reactor.core.publisher.MonoRetryWhen.subscribeOrReturn(MonoRetryWhen.java:46)\n\tat [email protected]/reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:57)\n\tat [email protected]/reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.subscribe(HttpClientConnect.java:276)\n\tat [email protected]/reactor.core.publisher.Mono.subscribe(Mono.java:4491)\n\tat [email protected]/reactor.core.publisher.Mono.block(Mono.java:1741)\n\tat [email protected]/com.azure.core.http.netty.NettyAsyncHttpClient.sendSync(NettyAsyncHttpClient.java:195)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:51)\n\tat [email protected]/com.azure.core.http.policy.HttpLoggingPolicy.processSync(HttpLoggingPolicy.java:175)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.implementation.http.policy.InstrumentationPolicy.processSync(InstrumentationPolicy.java:101)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.policy.RetryPolicy.attemptSync(RetryPolicy.java:217)\n\tat [email protected]/com.azure.core.http.policy.RetryPolicy.attemptSync(RetryPolicy.java:233)\n\tat [email protected]/com.azure.core.http.policy.RetryPolicy.attemptSync(RetryPolicy.java:233)\n\tat [email protected]/com.azure.core.http.policy.RetryPolicy.attemptSync(RetryPolicy.java:233)\n\tat [email protected]/com.azure.core.http.policy.RetryPolicy.processSync(RetryPolicy.java:161)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.policy.AddHeadersPolicy.processSync(AddHeadersPolicy.java:66)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.policy.HttpPipelineSyncPolicy.processSync(HttpPipelineSyncPolicy.java:51)\n\tat [email protected]/com.azure.core.http.policy.UserAgentPolicy.processSync(UserAgentPolicy.java:174)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.HttpPipeline.sendSync(HttpPipeline.java:138)\n\tat [email protected]/com.azure.identity.implementation.HttpPipelineAdapter.send(HttpPipelineAdapter.java:67)\n\tat [email protected]/com.microsoft.aad.msal4j.HttpHelper.executeHttpRequestWithRetries(HttpHelper.java:137)\n\tat [email protected]/com.microsoft.aad.msal4j.HttpHelper.executeHttpRequest(HttpHelper.java:52)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.executeRequest(AadInstanceDiscoveryProvider.java:299)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.sendInstanceDiscoveryRequest(AadInstanceDiscoveryProvider.java:249)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.doInstanceDiscoveryAndCache(AadInstanceDiscoveryProvider.java:360)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.getMetadataEntry(AadInstanceDiscoveryProvider.java:107)\n\tat [email protected]/com.microsoft.aad.msal4j.AuthenticationResultSupplier.getAuthorityWithPrefNetworkHost(AuthenticationResultSupplier.java:39)\n\tat [email protected]/com.microsoft.aad.msal4j.AcquireTokenSilentSupplier.execute(AcquireTokenSilentSupplier.java:23)\n\tat [email protected]/com.microsoft.aad.msal4j.AcquireTokenByClientCredentialSupplier.execute(AcquireTokenByClientCredentialSupplier.java:46)\n\tat [email protected]/com.microsoft.aad.msal4j.AuthenticationResultSupplier.get(AuthenticationResultSupplier.java:69)\n\tat [email protected]/com.microsoft.aad.msal4j.AuthenticationResultSupplier.get(AuthenticationResultSupplier.java:18)\n\tat java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1814)\n\tat [email protected]/io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)\n\tat [email protected]/io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)\n\tat [email protected]/io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:998)\n\tat [email protected]/io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)\n\tat [email protected]/org.elasticsearch.repositories.azure.SocketAccess.lambda$doPrivilegedVoidException$0(SocketAccess.java:47)\n\tat java.base/java.security.AccessController.doPrivileged(AccessController.java:251)\n\tat [email protected]/org.elasticsearch.repositories.azure.SocketAccess.doPrivilegedVoidException(SocketAccess.java:46)\n\tat [email protected]/org.elasticsearch.repositories.azure.executors.PrivilegedExecutor.lambda$execute$0(PrivilegedExecutor.java:28)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:977)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)\n\tat java.base/java.lang.Thread.run(Thread.java:1447)\n"}
{"@timestamp":"2025-05-13T12:53:10.843Z", "log.level": "WARN", "message":"Not entitled: component [repository-azure], module [reactor.netty.core], class [class reactor.netty.resources.DefaultLoopResources$EventLoopFactory], entitlement [manage_threads]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"elasticsearch[elasticsearch-es-masters-0][azure_event_loop][T#1]","log.logger":"org.elasticsearch.entitlement.runtime.policy.PolicyManager.repository-azure.reactor.netty.core","trace.id":"3ece9635beb5887764779e7e95c58c77","elasticsearch.cluster.uuid":"ID","elasticsearch.node.id":"ID","elasticsearch.node.name":"elasticsearch-es-masters-0","elasticsearch.cluster.name":"elasticsearch","error.type":"org.elasticsearch.entitlement.runtime.api.NotEntitledException","error.message":"component [repository-azure], module [reactor.netty.core], class [class reactor.netty.resources.DefaultLoopResources$EventLoopFactory], entitlement [manage_threads]","error.stack_trace":"org.elasticsearch.entitlement.runtime.api.NotEntitledException: component [repository-azure], module [reactor.netty.core], class [class reactor.netty.resources.DefaultLoopResources$EventLoopFactory], entitlement [manage_threads]\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.notEntitled(PolicyManager.java:690)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.checkFlagEntitlement(PolicyManager.java:632)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.checkEntitlementPresent(PolicyManager.java:722)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.checkManageThreadsEntitlement(PolicyManager.java:714)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.api.ElasticsearchEntitlementChecker.check$java_lang_Thread$setDaemon(ElasticsearchEntitlementChecker.java:2665)\n\tat java.base/java.lang.Thread.setDaemon(Thread.java)\n\tat [email protected]/reactor.netty.resources.DefaultLoopResources$EventLoopFactory.newThread(DefaultLoopResources.java:300)\n\tat [email protected]/io.netty.util.concurrent.ThreadPerTaskExecutor.execute(ThreadPerTaskExecutor.java:32)\n\tat [email protected]/io.netty.util.internal.ThreadExecutorMap$1.execute(ThreadExecutorMap.java:57)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.doStartThread(SingleThreadEventExecutor.java:986)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.startThread(SingleThreadEventExecutor.java:955)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:838)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.execute0(SingleThreadEventExecutor.java:827)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:817)\n\tat java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:124)\n\tat [email protected]/io.netty.util.concurrent.AbstractEventExecutor.submit(AbstractEventExecutor.java:117)\n\tat [email protected]/reactor.netty.resources.ColocatedEventLoopGroup.<init>(ColocatedEventLoopGroup.java:59)\n\tat [email protected]/reactor.netty.resources.LoopResources.colocate(LoopResources.java:87)\n\tat [email protected]/reactor.netty.resources.DefaultLoopResources.cacheNioClientLoops(DefaultLoopResources.java:179)\n\tat [email protected]/reactor.netty.resources.DefaultLoopResources.onClient(DefaultLoopResources.java:147)\n\tat [email protected]/reactor.netty.tcp.TcpResources.onClient(TcpResources.java:263)\n\tat [email protected]/reactor.netty.resources.PooledConnectionProvider.lambda$acquire$2(PooledConnectionProvider.java:157)\n\tat [email protected]/reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:58)\n\tat [email protected]/reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.lambda$subscribe$0(HttpClientConnect.java:273)\n\tat [email protected]/reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:58)\n\tat [email protected]/reactor.core.publisher.FluxRetryWhen.subscribe(FluxRetryWhen.java:77)\n\tat [email protected]/reactor.core.publisher.MonoRetryWhen.subscribeOrReturn(MonoRetryWhen.java:46)\n\tat [email protected]/reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:57)\n\tat [email protected]/reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.subscribe(HttpClientConnect.java:276)\n\tat [email protected]/reactor.core.publisher.Mono.subscribe(Mono.java:4491)\n\tat [email protected]/reactor.core.publisher.Mono.block(Mono.java:1741)\n\tat [email protected]/com.azure.core.http.netty.NettyAsyncHttpClient.sendSync(NettyAsyncHttpClient.java:195)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:51)\n\tat [email protected]/com.azure.core.http.policy.HttpLoggingPolicy.processSync(HttpLoggingPolicy.java:175)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.implementation.http.policy.InstrumentationPolicy.processSync(InstrumentationPolicy.java:101)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.policy.RetryPolicy.attemptSync(RetryPolicy.java:217)\n\tat [email protected]/com.azure.core.http.policy.RetryPolicy.processSync(RetryPolicy.java:161)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.policy.AddHeadersPolicy.processSync(AddHeadersPolicy.java:66)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.policy.HttpPipelineSyncPolicy.processSync(HttpPipelineSyncPolicy.java:51)\n\tat [email protected]/com.azure.core.http.policy.UserAgentPolicy.processSync(UserAgentPolicy.java:174)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.HttpPipeline.sendSync(HttpPipeline.java:138)\n\tat [email protected]/com.azure.identity.implementation.HttpPipelineAdapter.send(HttpPipelineAdapter.java:67)\n\tat [email protected]/com.microsoft.aad.msal4j.HttpHelper.executeHttpRequestWithRetries(HttpHelper.java:137)\n\tat [email protected]/com.microsoft.aad.msal4j.HttpHelper.executeHttpRequest(HttpHelper.java:52)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.executeRequest(AadInstanceDiscoveryProvider.java:299)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.sendInstanceDiscoveryRequest(AadInstanceDiscoveryProvider.java:249)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.doInstanceDiscoveryAndCache(AadInstanceDiscoveryProvider.java:360)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.getMetadataEntry(AadInstanceDiscoveryProvider.java:107)\n\tat [email protected]/com.microsoft.aad.msal4j.AuthenticationResultSupplier.getAuthorityWithPrefNetworkHost(AuthenticationResultSupplier.java:39)\n\tat [email protected]/com.microsoft.aad.msal4j.AcquireTokenSilentSupplier.execute(AcquireTokenSilentSupplier.java:23)\n\tat [email protected]/com.microsoft.aad.msal4j.AcquireTokenByClientCredentialSupplier.execute(AcquireTokenByClientCredentialSupplier.java:46)\n\tat [email protected]/com.microsoft.aad.msal4j.AuthenticationResultSupplier.get(AuthenticationResultSupplier.java:69)\n\tat [email protected]/com.microsoft.aad.msal4j.AuthenticationResultSupplier.get(AuthenticationResultSupplier.java:18)\n\tat java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1814)\n\tat [email protected]/io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)\n\tat [email protected]/io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)\n\tat [email protected]/io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:998)\n\tat [email protected]/io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)\n\tat [email protected]/org.elasticsearch.repositories.azure.SocketAccess.lambda$doPrivilegedVoidException$0(SocketAccess.java:47)\n\tat java.base/java.security.AccessController.doPrivileged(AccessController.java:251)\n\tat [email protected]/org.elasticsearch.repositories.azure.SocketAccess.doPrivilegedVoidException(SocketAccess.java:46)\n\tat [email protected]/org.elasticsearch.repositories.azure.executors.PrivilegedExecutor.lambda$execute$0(PrivilegedExecutor.java:28)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:977)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)\n\tat java.base/java.lang.Thread.run(Thread.java:1447)\n"}
{"@timestamp":"2025-05-13T12:53:11.651Z", "log.level": "WARN", "message":"Not entitled: component [repository-azure], module [reactor.netty.core], class [class reactor.netty.resources.DefaultLoopResources$EventLoopFactory], entitlement [manage_threads]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"elasticsearch[elasticsearch-es-masters-0][azure_event_loop][T#1]","log.logger":"org.elasticsearch.entitlement.runtime.policy.PolicyManager.repository-azure.reactor.netty.core","trace.id":"3ece9635beb5887764779e7e95c58c77","elasticsearch.cluster.uuid":"ID","elasticsearch.node.id":"ID","elasticsearch.node.name":"elasticsearch-es-masters-0","elasticsearch.cluster.name":"elasticsearch","error.type":"org.elasticsearch.entitlement.runtime.api.NotEntitledException","error.message":"component [repository-azure], module [reactor.netty.core], class [class reactor.netty.resources.DefaultLoopResources$EventLoopFactory], entitlement [manage_threads]","error.stack_trace":"org.elasticsearch.entitlement.runtime.api.NotEntitledException: component [repository-azure], module [reactor.netty.core], class [class reactor.netty.resources.DefaultLoopResources$EventLoopFactory], entitlement [manage_threads]\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.notEntitled(PolicyManager.java:690)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.checkFlagEntitlement(PolicyManager.java:632)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.checkEntitlementPresent(PolicyManager.java:722)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.policy.PolicyManager.checkManageThreadsEntitlement(PolicyManager.java:714)\n\tat [email protected]/org.elasticsearch.entitlement.runtime.api.ElasticsearchEntitlementChecker.check$java_lang_Thread$setDaemon(ElasticsearchEntitlementChecker.java:2665)\n\tat java.base/java.lang.Thread.setDaemon(Thread.java)\n\tat [email protected]/reactor.netty.resources.DefaultLoopResources$EventLoopFactory.newThread(DefaultLoopResources.java:300)\n\tat [email protected]/io.netty.util.concurrent.ThreadPerTaskExecutor.execute(ThreadPerTaskExecutor.java:32)\n\tat [email protected]/io.netty.util.internal.ThreadExecutorMap$1.execute(ThreadExecutorMap.java:57)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.doStartThread(SingleThreadEventExecutor.java:986)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.startThread(SingleThreadEventExecutor.java:955)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:838)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.execute0(SingleThreadEventExecutor.java:827)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:817)\n\tat java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:124)\n\tat [email protected]/io.netty.util.concurrent.AbstractEventExecutor.submit(AbstractEventExecutor.java:117)\n\tat [email protected]/reactor.netty.resources.ColocatedEventLoopGroup.<init>(ColocatedEventLoopGroup.java:59)\n\tat [email protected]/reactor.netty.resources.LoopResources.colocate(LoopResources.java:87)\n\tat [email protected]/reactor.netty.resources.DefaultLoopResources.cacheNioClientLoops(DefaultLoopResources.java:179)\n\tat [email protected]/reactor.netty.resources.DefaultLoopResources.onClient(DefaultLoopResources.java:147)\n\tat [email protected]/reactor.netty.tcp.TcpResources.onClient(TcpResources.java:263)\n\tat [email protected]/reactor.netty.resources.PooledConnectionProvider.lambda$acquire$2(PooledConnectionProvider.java:157)\n\tat [email protected]/reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:58)\n\tat [email protected]/reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.lambda$subscribe$0(HttpClientConnect.java:273)\n\tat [email protected]/reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:58)\n\tat [email protected]/reactor.core.publisher.FluxRetryWhen.subscribe(FluxRetryWhen.java:77)\n\tat [email protected]/reactor.core.publisher.MonoRetryWhen.subscribeOrReturn(MonoRetryWhen.java:46)\n\tat [email protected]/reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:57)\n\tat [email protected]/reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.subscribe(HttpClientConnect.java:276)\n\tat [email protected]/reactor.core.publisher.Mono.subscribe(Mono.java:4491)\n\tat [email protected]/reactor.core.publisher.Mono.block(Mono.java:1741)\n\tat [email protected]/com.azure.core.http.netty.NettyAsyncHttpClient.sendSync(NettyAsyncHttpClient.java:195)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:51)\n\tat [email protected]/com.azure.core.http.policy.HttpLoggingPolicy.processSync(HttpLoggingPolicy.java:175)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.implementation.http.policy.InstrumentationPolicy.processSync(InstrumentationPolicy.java:101)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.policy.RetryPolicy.attemptSync(RetryPolicy.java:217)\n\tat [email protected]/com.azure.core.http.policy.RetryPolicy.attemptSync(RetryPolicy.java:233)\n\tat [email protected]/com.azure.core.http.policy.RetryPolicy.processSync(RetryPolicy.java:161)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.policy.AddHeadersPolicy.processSync(AddHeadersPolicy.java:66)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.policy.HttpPipelineSyncPolicy.processSync(HttpPipelineSyncPolicy.java:51)\n\tat [email protected]/com.azure.core.http.policy.UserAgentPolicy.processSync(UserAgentPolicy.java:174)\n\tat [email protected]/com.azure.core.http.HttpPipelineNextSyncPolicy.processSync(HttpPipelineNextSyncPolicy.java:53)\n\tat [email protected]/com.azure.core.http.HttpPipeline.sendSync(HttpPipeline.java:138)\n\tat [email protected]/com.azure.identity.implementation.HttpPipelineAdapter.send(HttpPipelineAdapter.java:67)\n\tat [email protected]/com.microsoft.aad.msal4j.HttpHelper.executeHttpRequestWithRetries(HttpHelper.java:137)\n\tat [email protected]/com.microsoft.aad.msal4j.HttpHelper.executeHttpRequest(HttpHelper.java:52)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.executeRequest(AadInstanceDiscoveryProvider.java:299)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.sendInstanceDiscoveryRequest(AadInstanceDiscoveryProvider.java:249)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.doInstanceDiscoveryAndCache(AadInstanceDiscoveryProvider.java:360)\n\tat [email protected]/com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.getMetadataEntry(AadInstanceDiscoveryProvider.java:107)\n\tat [email protected]/com.microsoft.aad.msal4j.AuthenticationResultSupplier.getAuthorityWithPrefNetworkHost(AuthenticationResultSupplier.java:39)\n\tat [email protected]/com.microsoft.aad.msal4j.AcquireTokenSilentSupplier.execute(AcquireTokenSilentSupplier.java:23)\n\tat [email protected]/com.microsoft.aad.msal4j.AcquireTokenByClientCredentialSupplier.execute(AcquireTokenByClientCredentialSupplier.java:46)\n\tat [email protected]/com.microsoft.aad.msal4j.AuthenticationResultSupplier.get(AuthenticationResultSupplier.java:69)\n\tat [email protected]/com.microsoft.aad.msal4j.AuthenticationResultSupplier.get(AuthenticationResultSupplier.java:18)\n\tat java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1814)\n\tat [email protected]/io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)\n\tat [email protected]/io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)\n\tat [email protected]/io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566)\n\tat [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:998)\n\tat [email protected]/io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)\n\tat [email protected]/org.elasticsearch.repositories.azure.SocketAccess.lambda$doPrivilegedVoidException$0(SocketAccess.java:47)\n\tat java.base/java.security.AccessController.doPrivileged(AccessController.java:251)\n\tat [email protected]/org.elasticsearch.repositories.azure.SocketAccess.doPrivilegedVoidException(SocketAccess.java:46)\n\tat [email protected]/org.elasticsearch.repositories.azure.executors.PrivilegedExecutor.lambda$execute$0(PrivilegedExecutor.java:28)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:977)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)\n\tat java.base/java.lang.Thread.run(Thread.java:1447)\n"}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions