[
https://issues.apache.org/jira/browse/CASSANDRA-16555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17735621#comment-17735621
]
Stefan Miklosovic commented on CASSANDRA-16555:
-----------------------------------------------
We seem to agree on ML (1) that 3) is the way to go.
I have added few tests in this branch (2).
We want to refactor the code around this so we will still have one EC2 snitch
and the v1 / v2 of IMDS will be driven by a property for that snitch. That way,
people do not need to learn about anything new and it will just work.
We are in the process of further evaluating this approach / I am waiting for a
review.
I am not sure what should be the default behavior, v1 or v2 of the metadata
service?
(1) https://lists.apache.org/thread/s4q0159wsrw19kcco555xjnt6b60z8jx
(2) https://github.com/apache/cassandra/pull/2403/files
> Add out-of-the-box snitch for Ec2 IMDSv2
> ----------------------------------------
>
> Key: CASSANDRA-16555
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16555
> Project: Cassandra
> Issue Type: New Feature
> Components: Consistency/Coordination
> Reporter: Paul Rütter (BlueConic)
> Assignee: Stefan Miklosovic
> Priority: Normal
> Fix For: 3.0.x, 3.11.x, 4.0.x, 4.1.x, 5.x
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> In order to patch a vulnerability, Amazon came up with a new version of their
> metadata service.
> It's no longer unrestricted but now requires a token (in a header), in order
> to access the metadata service.
> See
> [https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html]
> for more information.
> Cassandra currently doesn't offer an out-of-the-box snitch class to support
> this.
> See
> [https://cassandra.apache.org/doc/latest/operating/snitch.html#snitch-classes]
> This issue asks to add support for this as a separate snitch class.
> We'll probably do a PR for this, as we are in the process of developing one.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]