Skip to content

Conversation

DaveCTurner
Copy link
Contributor

Backports the following commits to 8.x:

The version of the AWS Java SDK we use already magically switches to
IMDSv2 if available, but today we cannot claim to support IMDSv2 in
Elasticsearch since we have no tests demonstrating that the magic really
works for us. In particular, this sort of thing often risks falling foul
of some restrictions imposed by the security manager (if not now then
maybe in some future release).

This commit adds proper support for IMDSv2 by enhancing the test suite
to add the missing coverage to avoid any risk of breaking this magical
SDK behaviour in future.

Closes elastic#105135 Closes ES-9984
@DaveCTurner DaveCTurner added :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Distributed Coordination Meta label for Distributed Coordination team labels Dec 2, 2024
Copy link
Contributor

github-actions bot commented Dec 2, 2024

Documentation preview:

@elasticsearchmachine elasticsearchmachine merged commit 4b7c3b6 into elastic:8.x Dec 2, 2024
16 checks passed
@DaveCTurner DaveCTurner deleted the backport/8.x/pr-117748 branch December 2, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement Team:Distributed Coordination Meta label for Distributed Coordination team v8.18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants