Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

@DaveCTurner DaveCTurner commented Dec 11, 2024

Verifies that the plugin sets the aws_availability_zone node attribute
automatically by reading the AZ name from the IMDS at startup.

Verifies that the plugin sets the `aws_availability_zone` automatically
by reading the AZ name from the IMDS at startup.
@DaveCTurner DaveCTurner added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Discovery-Plugins Anything related to our integration plugins with EC2, GCP and Azure v9.0.0 v8.18.0 labels Dec 11, 2024
@DaveCTurner DaveCTurner requested a review from pxsalehi December 11, 2024 12:24
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Coordination Meta label for Distributed Coordination team label Dec 11, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

@DaveCTurner DaveCTurner added the auto-backport Automatically create backport pull requests when merged label Dec 11, 2024
import java.util.function.BiConsumer;
import java.util.function.Supplier;

public class Ec2ImdsServiceBuilder {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of this change is moving the creation of the Ec2ImdsHttpHandler from a regular constructor with an increasing parameter list (most of which will be a sensible default value) into this builder. Not obviously all that important when there's only 4 params, but more are on their way soon enough.

@DaveCTurner DaveCTurner merged commit a975927 into elastic:main Dec 12, 2024
16 checks passed
@DaveCTurner DaveCTurner deleted the 2024/12/11/discovery-ec2-availability-zone-tests branch December 12, 2024 10:58
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Dec 12, 2024
Verifies that the plugin sets the `aws_availability_zone` automatically
by reading the AZ name from the IMDS at startup.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

elasticsearchmachine pushed a commit that referenced this pull request Dec 12, 2024
Verifies that the plugin sets the `aws_availability_zone` automatically
by reading the AZ name from the IMDS at startup.
maxhniebergall pushed a commit to maxhniebergall/elasticsearch that referenced this pull request Dec 16, 2024
…astic#118541)

Verifies that the plugin sets the `aws_availability_zone` automatically
by reading the AZ name from the IMDS at startup.
maxhniebergall pushed a commit to maxhniebergall/elasticsearch that referenced this pull request Dec 16, 2024
…astic#118541)

Verifies that the plugin sets the `aws_availability_zone` automatically
by reading the AZ name from the IMDS at startup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Distributed Coordination/Discovery-Plugins Anything related to our integration plugins with EC2, GCP and Azure Team:Distributed Coordination Meta label for Distributed Coordination team >test Issues or PRs that are addressing/adding tests v8.18.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants