You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2016/03/11 18:06:39 UTC

[jira] [Resolved] (CASSANDRA-7156) Add a new seed provider for Apache Cloudstack platforms

     [ https://issues.apache.org/jira/browse/CASSANDRA-7156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksey Yeschenko resolved CASSANDRA-7156.
------------------------------------------
       Resolution: Won't Fix
         Assignee:     (was: Michael Shuler)
    Fix Version/s:     (was: 2.1.x)

As discussed, the functionality arguably belongs to an external repo. Seed providers were made pluggable exactly so that this could be implemented elsewhere without C* committers having to maintain all the possible implementations.

Closing as Won't Fix.

> Add a new seed provider for Apache Cloudstack platforms
> -------------------------------------------------------
>
>                 Key: CASSANDRA-7156
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7156
>             Project: Cassandra
>          Issue Type: Improvement
>         Environment: needs access to a cloudstack API endpoint
>            Reporter: Pierre-Yves Ritschard
>            Priority: Minor
>         Attachments: 0001-initial-work-on-a-cloudstack-seed-provider.patch
>
>
> The attached patch adds a new seed provider which queries a cloudstack API endpoint for instances having a specific tag.
> The tag key and value can be controlled in the configuration file and                                                                                 
> will default to 'cassandra_seed' and 'default'.                                                                                                       
> The Cloudstack endpoint is configured by three parameters in the                                                                                      
> configuration file: 'cloudstack_api_endpoint', 'cloudstack_api_key' and                                                                               
> 'cloudstack_api_secret'                                                                                                                               
> By default, CloudstackSeedProvider fetchs the ipaddress of the first                                                                                  
> interface, if another index should be used, the nic_index parameter will hold it.
> A typical configuration file would thus have:
> {code:yaml}
> seed_provider:
>     - class_name: org.apache.cassandra.locator.CloudstackSeedProvider
>       parameters:
>           - cloudstack_api_endpoint: "https://some.cloudstack.host"
>             cloudstack_api_key: "XXXXX"
>             cloudstack_api_secret: "XXXXX"
>             tag_value: "my_cluster_name"
> {code}
> This introduces no new dependency and together with CASSANDRA-7147 gives an easy way of getting started on cloudstack platforms



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)