contiv-experimental / cluster

cluster management infrastructure using serf, collins and ansible!
Other
19 stars 9 forks source link

[question] how to deploy volplugin using contiv-cluster #139

Open angry-tony opened 8 years ago

angry-tony commented 8 years ago

hi.. i'm trying to set up the net & volplugin on bare-metal using contiv-cluster.

is it possible to deploy all services of contiv?? (like ceph, volplugin, contiv_storage which is commented in site.yml, how to commissioning a node for volplugin-test or netplugin-node?)

jainvipin commented 8 years ago

@angry-tony - volplugin is temporarily commented out for commission/decommssion related changes (work needs to be merged in)... however cluster's role is to install it all, including ceph, etc... Is commissioning not working? Do you want to join contiv slack channel so you can ask questions?

angry-tony commented 8 years ago

@jainvipin

i executed the command "clusterctl node commission" to install ceph but i got the error message below. using contiv-cluster, how to setup the Ceph for Contiv-volplugin.. ??

]$ clusterctl node commission contiv-volplugin-01-0 --host-group=volplugin-test

2016/05/20 16:05:32 Request URL: commission/nodes Request Body: &{Nodes:[contiv-volplugin-01-0] Addrs:[] HostGroup:volplugin-test ExtraVars: Job: Event:{Name: Nodes:[]}} Response status: "500 Internal Server Error". Response body: invalid or empty host-group specified: "volplugin-test"
mapuri commented 8 years ago

@angry-tony host-group value can only be service-master or service-worker. And volplugin/ceph is currently disabled as we have some work to do with ceph playbooks (https://github.com/contiv/ansible/issues/19) before we can add it to cluster workflows. We are working on addressing it soon.

Just curious, are you looking to provision a fixed cluster atm (in other words would you be ok if you are not able to commission/decommission nodes incrementally from cluster for now)? If this is the case and you are provisioning a smallish cluster (like 3-5 nodes) you could do something like this for now:

Step 1. Un-comment the `contiv_storage`, `ceph-mon` and `ceph-osd` roles from `service-master` host-group in `site.yml`

Step 2. Run the commission command using --host-group="service-master"

Hope this helps.

angry-tony commented 8 years ago

@jainvipin - Hello. could you give me some-info "how to join contiv slack channel"?? i was trying to join Contiv Slack channel but i got a error message.

ERROR msg : Failed! token_revoked

my email address is hee4004@gmail.com