[
https://issues.apache.org/jira/browse/CASSANDRA-7147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17738521#comment-17738521
]
Stefan Miklosovic edited comment on CASSANDRA-7147 at 6/29/23 11:56 AM:
------------------------------------------------------------------------
Hi [~pyritschard],
thank you for your quick response.
Could you please comment on the existence of these files? (1). Are they
CloudStack specific or is that something tailored for Exoscale?
My question is if CloudStack snitch is still relevant as in these files indeed
exist in CloudStack deployment or this approach is already obsolete (it was 9
years ago) and things are done differently now.
I was trying to check if there is some official way to get metadata from
instance but I do not see anything related to that. The fact is you have some
custom management endpoints on 169.254.169.254 are not Cloudstack-specific. I
think you just followed https://www.rfc-editor.org/rfc/rfc3927
(1)
https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/locator/CloudstackSnitch.java#L64-L65
was (Author: smiklosovic):
Hi [~pyritschard],
thank you for your quick response.
Could you please comment on the existence of these files? (1). Are they
CloudStack specific or is that something tailored for Exoscale?
My question is if CloudStack snitch is still relevant as in these files indeed
exist in CloudStack deployment or this approach is already obsolete (it was 9
years ago) and things are done differently now.
I was trying to check if there is some official way to get metadata from
instance but I do not see anything related to that. The fact you have some
custom management endpoints on 169.254.269.254 are not Cloudstack-specific. I
think you just followed https://www.rfc-editor.org/rfc/rfc3927
(1)
https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/locator/CloudstackSnitch.java#L64-L65
> Add a new snitch for Apache Cloudstack platforms
> ------------------------------------------------
>
> Key: CASSANDRA-7147
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7147
> Project: Cassandra
> Issue Type: Improvement
> Environment: Virtual machine on Apache Cloudstack environments
> Reporter: Pierre-Yves Ritschard
> Assignee: Pierre-Yves Ritschard
> Priority: Low
> Fix For: 1.2.18, 2.0.8, 2.1 rc1
>
> Attachments: 0001-initial-work-on-a-cloudstack-snitch.patch
>
>
> The attached patch adds a new Snitch that queries meta data for a host on
> Apache Cloudstack environments. Since the metadata service is colocated with
> the DHCP service in Cloudstack, common lease file locations are looked up to
> retrieve.
> Since zone naming is freeform in Apache Cloudstack, the widely used
> <country>-<location>-<az> notation is assumed.
> The patch includes a simple unit test and has been tested on exoscale.ch, a
> public cloud based on Apache Cloudstack
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]