OpenStack Database As A Service (Trove)
Go to file
Kasper Hasior a1df0dbb03 Changing file owner when upgrading mariadb
When we upgrade mariadb version we mount volumes with data and
config files.

As we use new images we cannot make assumption that UIDs are the same
as on the old image so we set a new files and directories owner.

Two new functions have been added: _restore_directory() and
_restore_home_directory() in class Manager which are responsible to
copy files from the volume to the instance file system and to change
owner and group of the files.

The new function is located in base Manager class as it very likely
that other datastores may use it as well.

Co-Authored-By: Przemysław Godek <p.godek@partner.samsung.com>
Change-Id: I3c39f51b471081eeabed55070dc91807544a2dda
Story: #2005398
Task: #30391
Signed-off-by: Kasper Hasior <k.hasior@samsung.com>
2019-04-24 16:28:05 +02:00
api-ref/source [fix_typos] fix wrongly spell word "configration " 2018-11-14 11:35:22 +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 Merge "Disable devstack image building for trove-scenario-mariadb-single CI job" 2019-04-11 00:12:37 +00:00
doc Improve trove guest agent image building 2019-04-10 09:29:40 +12:00
etc Deprecate the config option default_neutron_networks 2019-03-26 14:14:31 +13:00
integration Merge "Improve trove guest agent image building" 2019-04-11 00:04:21 +00:00
playbooks Replace openstack.org git:// URLs with https:// 2019-03-24 20:36:20 +00:00
releasenotes Merge "Update master for stable/stein" 2019-04-11 00:12:43 +00:00
roles/trove-devstack Execute functional test jobs running under python3 2018-12-14 13:07:13 +01:00
tools Fix the misspelling of "configuration" 2018-12-27 16:15:48 +08:00
trove Changing file owner when upgrading mariadb 2019-04-24 16:28:05 +02: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 guestagent.test_operating_system for Python3 2018-03-01 10:52:26 +08:00
.zuul.yaml Merge "Disable devstack image building for trove-scenario-mariadb-single CI job" 2019-04-11 00:12:37 +00:00
babel.cfg Setup trove for translation 2014-03-19 15:06:23 +01:00
CONTRIBUTING.rst Extend contribution doc by IRC contact details 2018-11-07 16:05:54 +01: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
lower-constraints.txt Add trove-status upgrade check command framework 2018-10-22 12:56:28 +05:30
pylintrc initial chkin of pylint 2016-09-14 13:56:24 -04:00
README.rst Fix the wrong url 2018-11-09 21:21:29 +08:00
requirements.txt Add trove-status upgrade check command framework 2018-10-22 12:56:28 +05:30
run_tests.py fix tox python3 overrides 2018-09-18 17:19:20 +00:00
run_tests.sh Remove extraneous vim configuration comments 2014-02-27 15:05:21 +08:00
setup.cfg Remove SecurityGroup API extension 2019-04-06 23:46:07 +13:00
setup.py Updated from global requirements 2017-03-02 11:57:16 +00:00
test-requirements.txt update pylint to 1.9.2 2018-09-17 16:14:54 +02:00
test-upper-constraints.txt Use latests version of python-troveclient in tests 2018-09-14 10:33:29 +02:00
tox.ini Execute functional test jobs running under python3 2018-12-14 13:07:13 +01: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://git.openstack.org/cgit/openstack/trove

For information on how to contribute to trove, please see CONTRIBUTING.rst and HACKING.rst

You can raise bugs here: Bug Tracker

The plan for trove can be found at Trove Specs

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/trove

Python client

Python-troveclient is a client for Trove.

Dashboard plugin

Trove-dashboard is OpenStack dashbaord plugin for Trove.

References