OpenStack Database As A Service (Trove)
Go to file
Peter Stachowski 51f2655770 Locality support for clusters
In order to allow clusters to be all on the same hypervisor
(affinity) or all on different hypervisors (anti-affinity) a new
argument (locality) needed to be added to the Trove cluster-create API.

This changeset addresses the Trove server part of this feature.
'locality' can now be added to the ReST payload for a cluster-create
command and it is passed along as a scheduler hint to Nova.

The cluster scenario tests were enhanced to test that 'affinity'
works. Testing that 'anti-affinity' fails proved to be too
time consuming, since at present the only way for a cluster to
'fail' is to timeout (and that takes 10 hours).

The server-group is checked to make sure it is created properly,
and that it has been deleted after all the related instances are gone.

DocImpact: New functionality

Partially implements: blueprint replication-cluster-locality
Depends-On: Ie46cfa69ffe6a64760aca38c495563f5724bd0d0

Change-Id: I657bf5c023d0257e462cc39f57c16eb6ee83807a
2016-07-07 21:30:10 +00:00
apidocs Update 'myisam-recover-options' config template 2016-05-12 16:25:00 +00:00
contrib Fixes hacking rules 2015-05-29 07:27:59 +00:00
devstack Merge "Have Trove plugin install dashboard" 2016-06-25 01:00:10 +00:00
doc Switch from MySQL-python to PyMySQL 2016-06-30 08:47:01 +02:00
etc Switch from MySQL-python to PyMySQL 2016-06-30 08:47:01 +02:00
install-guide/source Merge "Switch from MySQL-python to PyMySQL" 2016-07-06 08:05:36 +00:00
releasenotes Locality support for clusters 2016-07-07 21:30:10 +00:00
tools Replace print statment with print function 2016-06-22 11:42:34 +05:30
trove Locality support for clusters 2016-07-07 21:30:10 +00:00
.coveragerc Rename from reddwarf to trove. 2013-06-24 14:11:15 -07:00
.gitignore Add Install Guide 2016-06-16 15:48:29 -07:00
.gitreview Renamed repos to trove. 2013-06-14 18:25:42 -04:00
.testr.conf Rename from reddwarf to trove. 2013-06-24 14:11:15 -07:00
babel.cfg Setup trove for translation 2014-03-19 15:06:23 +01:00
blacklist-py3.txt Port galera and redis cluster tests to Python 3 2016-06-29 15:55:18 +02:00
CONTRIBUTING.rst Document house rules for approving changes 2016-06-22 14:28:41 -04:00
doc-test.conf Update database-api to follow OpenStack conventions 2014-05-23 07:32:29 +02:00
generate_examples.py Fixes hacking rules 2015-05-29 07:27:59 +00:00
LICENSE Add Apache 2.0 LICENSE file. 2013-04-29 18:01:12 -04:00
MANIFEST.in Package AUTHORS and ChangeLog file 2013-06-25 10:41:57 +02:00
README.rst Update Trove's README 2016-05-04 15:48:55 +05:30
requirements.txt Updated from global requirements 2016-07-06 08:52:10 +00:00
run_tests.py Port run_tests.py to Python 3 2015-11-19 10:25:01 +00:00
run_tests.sh Remove extraneous vim configuration comments 2014-02-27 15:05:21 +08:00
setup.cfg Add trove tempest plugin 2016-06-27 18:53:05 +00:00
setup.py Updated from global requirements 2015-09-23 14:14:17 +00:00
test-requirements.txt Updated from global requirements 2016-06-24 08:47:13 +00:00
tox.ini Run Python 3 unit tests in parallel 2016-06-22 09:23:47 +02:00

Trove

Trove is Database as a Service for OpenStack.

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://github.com/openstack/trove

You can raise bugs here: https://bugs.launchpad.net/trove

Python client

https://git.openstack.org/cgit/openstack/python-troveclient

References