OpenStack Database As A Service (Trove)
Go to file
Zhao Chao 579f5afc64 Use RootHistory to check if root is ever enabled
When disabling root, there is no need to call guestagent to check
whether the root user is ever enabled. Root hisotry table should
be used for this purpose.

As datastore specific root controller of MySQL/Cassandra/PostgreSQL
were created only for the '_find_root_user' which were calling
guestagent to find root user, these controllers are removed and
'DefaultRootController' is used instead.

RedisRootController is also updated as it didn't do this check
previously.

Unittests directory structure is also slightly changed. It's more
clear to use similar directory hierarchies for testing and source
code, e.g.
    trove/extensions/common/service.py
    trove/tests/unitests/extensions/common/test_service.py

Change-Id: I9faac61d9650347b51f23e8fcaf5a92aed5fbf93
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2018-02-28 09:14:36 +08:00
api-ref/source [api-ref]: update instance creating parameters. 2018-02-11 15:18:42 +08:00
apidocs/src/samples Fix backup of mysql variants on Centos 2016-12-13 16:29:41 +00:00
contrib Fixes hacking rules 2015-05-29 07:27:59 +00:00
devstack Remove use of unsupported TEMPEST_SERVICES variable 2018-01-23 16:27:42 +03:00
doc Merge "Add Database service user guide" 2018-01-14 02:45:42 +00:00
etc Generate policy sample file automatically. 2018-02-12 18:11:22 +08:00
integration Merge "Fix incorrect usage of assertTrue" 2018-02-27 18:31:11 +00:00
playbooks/legacy Import experimental Zuul jobs 2018-01-13 07:28:27 +01:00
releasenotes Merge "Remove support of creating volume from Nova." 2018-02-11 20:30:56 +00:00
tools Use RootHistory to check if root is ever enabled 2018-02-28 09:14:36 +08:00
trove Use RootHistory to check if root is ever enabled 2018-02-28 09:14:36 +08:00
.coveragerc Update some information 2016-10-24 04:12:55 +00:00
.gitignore Generate policy sample file automatically. 2018-02-12 18:11:22 +08:00
.gitreview Renamed repos to trove. 2013-06-14 18:25:42 -04:00
.stestr.conf Fix gate issues 2017-10-13 09:37:48 -05:00
.testr.conf Rename from reddwarf to trove. 2013-06-24 14:11:15 -07:00
.zuul.yaml Add bandit-baseline check job. 2018-02-07 18:10:30 +08:00
babel.cfg Setup trove for translation 2014-03-19 15:06:23 +01:00
blacklist-py3.txt Remove blacklist test volume 2016-10-26 05:27:09 +00:00
CONTRIBUTING.rst Update URLs in documents according to document migration 2017-11-03 17:17:01 +08:00
generate_examples.py Fixes hacking rules 2015-05-29 07:27:59 +00:00
HACKING.rst Remove log translations 2018-01-24 17:21:26 +00:00
LICENSE Add Apache 2.0 LICENSE file. 2013-04-29 18:01:12 -04:00
pylintrc initial chkin of pylint 2016-09-14 13:56:24 -04:00
README.rst Update URLs in documents according to document migration 2017-11-03 17:17:01 +08:00
requirements.txt Updated from global requirements 2018-01-16 12:56:32 +00:00
run_tests.py secure oslo_messaging.rpc 2017-01-11 07:56:35 -05:00
run_tests.sh Remove extraneous vim configuration comments 2014-02-27 15:05:21 +08:00
setup.cfg Merge "Add default configuration files to data_files" 2018-02-27 23:39:00 +00:00
setup.py Updated from global requirements 2017-03-02 11:57:16 +00:00
test-requirements.txt Updated from global requirements 2018-01-24 01:40:25 +00:00
tox.ini Remove install-guide tox env 2018-02-22 17:45:22 +00:00

Trove

image

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