OpenStack Database As A Service (Trove)
Go to file
Zhao Chao 3b726f3013 report_root should always use context.user
The RootHistory intends to record by whom and when the root user of the
underlying datastore backend was enabled. So the "user" column should
always be set to the context user, not the actual root user in the
database. But report_root(and report_root_enabled in
taskmanager.models) use the database user instead, this is not correct,
This patch will fix.

Also remove the "user" argument from Root.create() and
HistoryRoot.create() because the context is already passed in as an
argument when these methods are called.

Closes-Bug: #1546372
Change-Id: I3b4c8ee56c7e0876fb384f0c5841d2d391bd555d
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2018-02-07 17:05:54 +08:00
api-ref/source [api-ref] Add sections for instance logs. 2018-01-29 11:01:34 +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 Remove the heat related documents 2018-01-17 16:17:25 +08:00
integration Merge "Accept the IBM DB2 license during the DIB process" 2018-02-02 23:04:18 +00:00
playbooks/legacy Import experimental Zuul jobs 2018-01-13 07:28:27 +01:00
releasenotes Implementation of root-enable, root-disable in redis. 2017-12-08 13:23:36 +08:00
tools Merge "Fix to use "." to source script files" 2017-11-03 19:01:57 +00:00
trove report_root should always use context.user 2018-02-07 17:05:54 +08:00
.coveragerc Update some information 2016-10-24 04:12:55 +00:00
.gitignore Improve .gitignore file in the project 2017-11-30 08:30:21 +07: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 Zuul: Remove project name 2018-02-05 23:43:27 -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 Remove bundled intree trove tempest plugin 2017-12-25 16:34:51 +05:30
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 Merge "Add doc8 to pep8 check for trove project" 2017-12-02 08:32:59 +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