From d2d07dccb3cebdf75ae970905ba2eb88e2afda7c Mon Sep 17 00:00:00 2001 From: David Turner Date: Tue, 13 May 2025 15:49:16 +0100 Subject: [PATCH 1/3] Add missing entitlement to `repository-azure` This entitlement is required, but only if validating the metadata endpoint against `https://login.microsoft.com/` which isn't something we can do in a test. Kind of a SDK bug, we should be using an existing event loop rather than spawning threads randomly like this. --- .../src/main/plugin-metadata/entitlement-policy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/repository-azure/src/main/plugin-metadata/entitlement-policy.yaml b/modules/repository-azure/src/main/plugin-metadata/entitlement-policy.yaml index dc276909274ec..5e0cbfaabe34e 100644 --- a/modules/repository-azure/src/main/plugin-metadata/entitlement-policy.yaml +++ b/modules/repository-azure/src/main/plugin-metadata/entitlement-policy.yaml @@ -16,3 +16,5 @@ com.azure.identity: mode: read reactor.core: - manage_threads +reactor.netty.core: + - manage_threads # https://github.com/elastic/elasticsearch/issues/128046 From 1b7a8ed1266cf39069434295f97823be9ea0249b Mon Sep 17 00:00:00 2001 From: David Turner Date: Tue, 13 May 2025 15:52:31 +0100 Subject: [PATCH 2/3] Update docs/changelog/128047.yaml --- docs/changelog/128047.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/changelog/128047.yaml diff --git a/docs/changelog/128047.yaml b/docs/changelog/128047.yaml new file mode 100644 index 0000000000000..d0ae8101319e8 --- /dev/null +++ b/docs/changelog/128047.yaml @@ -0,0 +1,5 @@ +pr: 128047 +summary: Add missing entitlement to `repository-azure` +area: Snapshot/Restore +type: bug +issues: [] From 07c774a6d1705836009f39486b42b3c55fb5cb91 Mon Sep 17 00:00:00 2001 From: David Turner Date: Tue, 13 May 2025 15:57:08 +0100 Subject: [PATCH 3/3] Update docs/changelog/128047.yaml --- docs/changelog/128047.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/128047.yaml b/docs/changelog/128047.yaml index d0ae8101319e8..fb3d58794afbd 100644 --- a/docs/changelog/128047.yaml +++ b/docs/changelog/128047.yaml @@ -2,4 +2,5 @@ pr: 128047 summary: Add missing entitlement to `repository-azure` area: Snapshot/Restore type: bug -issues: [] +issues: + - 128046