RETIRED, Clustering service for managing homogeneous objects in OpenStack
Go to file
Jenkins 1fff894b19 Merge "Trivial fixes for devstack integration" 2015-04-20 11:20:27 +00:00
bin Replace 'tenant' by 'project' 2015-04-03 01:36:47 -04:00
devstack Trivial fixes for devstack integration 2015-04-20 16:44:40 +08:00
doc Initial version of authorization doc 2015-04-16 04:17:37 -04:00
etc/senlin Split webhook middleware from webhooks module 2015-04-13 23:10:38 -04:00
examples Rework server profile using new context building 2015-04-20 02:24:05 -04:00
senlin Build RequestContext in webhook middleware 2015-04-20 03:03:16 -04:00
tools Add db_sync to senlin-db-recreate 2015-04-20 03:27:45 -04:00
.coveragerc Tuning tox configuration 2015-04-13 05:46:26 -04:00
.gitignore Tuning tox configuration 2015-04-13 05:46:26 -04:00
.gitreview Fixed typo in .gitreview file 2015-03-18 16:42:20 +08:00
.testr.conf Initial copy of project files from Heat 2014-12-10 15:47:34 +08:00
CONTRIBUTING.rst Added some docs about hacking and testing 2015-03-25 11:32:09 +08:00
FEATURES.rst Sort TODO and FEATURES again 2015-04-20 01:24:33 -04:00
HACKING.rst Added some docs about hacking and testing 2015-03-25 11:32:09 +08:00
LICENSE Initialial commit 2014-12-10 15:32:50 +08:00
MANIFEST.in Removed useless entries 2015-03-11 20:04:08 +08:00
README.md Trivial fixes for devstack integration 2015-04-20 16:44:40 +08:00
TODO Sort TODO and FEATURES again 2015-04-20 01:24:33 -04:00
babel.cfg Initial copy of project files from Heat 2014-12-10 15:47:34 +08:00
install.sh Fix setup scripts in tools folder 2015-04-09 00:35:18 +08:00
openstack-common.conf Updated oslo dependency to reality 2015-04-13 03:19:07 -04:00
pylintrc Initial copy of project files from Heat 2014-12-10 15:47:34 +08:00
requirements.txt Migrate to oslo.policy 2015-04-09 11:30:29 -04:00
run_tests.sh Initial version of test script 2014-12-10 16:18:44 +08:00
setup.cfg Update setup.cfg to reflect new reality 2015-04-13 03:06:08 -04:00
setup.py Initial version 2014-12-17 15:22:51 +08:00
test-requirements.txt Bump requirement versions 2015-03-21 18:31:10 +08:00
tox.ini Tuning tox configuration 2015-04-13 05:46:26 -04:00
uninstall.sh Initial version borrowed from Heat 2014-12-10 17:17:35 +08:00

README.md

senlin

Senlin is a clustering service for OpenStack cloud. It creates and operates clusters of homogenous objects exposed by other OpenStack services. The goal is to make orchestration of collections of similar objects easier.

Senlin provides ReSTful APIs to users so that they can associate various policies to a cluster. Sample policies include placement policy, load balancing policy, failover policy, scaling policy, ... and so on.

Developers will decide when to contribute it to OpenStack community.

IRC Channel: #senlin

Install via Devstack

Please refer to devstack/README.rst

Installation

  • Get senlin code from github
git clone https://github.com/tengqm/senlin.git
  • Install requirements
pip install -r requirements.txt
  • Install senlin
./install.sh
  • Create keystone service for senlin

There is a setup-service script under tools folder to do this for you, you should use the script to automate this step and step 5 for you.

keystone service-create --type clustering --name senlin
  • Create keystone endpoint for senlin

There is a setup-service script under tools folder to do this for you, you should use the script to automate step 4 and this step for you.

keystone endpoint-create --region RegionOne --service <service_id> --publicurl 'http://<your_ip>:8778/v1/$(tenant_id)s' --adminurl 'http://<your_ip>:8778/v1/$(tenant_id)s' --internalurl 'http://<your_ip>:8778/v1/$(tenant_id)s'
  • Update configuration file /etc/senlin/senlin.conf according to your system

Note that the item policy_dir should be pointed to a folder which include file policy.json

  • Start senlin engine and api service
senlin-engine --config-file /etc/senlin/senlin.conf --log-file /tmp/senlin-api.log --debug
senlin-api --config-file /etc/senlin/senlin.conf --log-file /tmp/senlin-api.log --debug
  • Get senlin client code
git clone https://github.com/tengqm/python-senlinclient.git
  • Install senlin client
python setup.py install
  • You are ready to play with senlin right now