aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/Documentation/README.trove
blob: cdbfb583b235c6c8ce0d3fb3e5265b5a38443f1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Summary
=======

This document is not intended to provide deail of how Trove in general works,
but rather it highlights the deails of how Trove is set up and how OpenStack is
configured to allow the Troveclient to interact with Trove.

Trove Overview
==============

Trove is Database as a Service for OpenStack. It's designed to run entirely on
OpenStack, with the goal of allowing users to quickly and easily utilize the
features of a relational database without the burden of handling complex
administrative tasks. Cloud users and database administrators can provision and
manage multiple database instances as needed. Initially, the service will focus
on providing resource isolation at high performance while automating complex
administrative tasks including deployment, configuration, patching, backups,
restores, and monitoring.

Trove Setup
===========

Trove is set up to have the following:

* The database and datastore are added as postgresql since this is the default
  database configuration.

* There is a keystone user and service created for Trove called "trove".  The
  role is admin.

Interactions with Trove are handled through the troveclient on the command line.
The troveclient binary is simply called trove.  For details of how to use trove
on the command line, please refer to the help:

        $ trove

Build Configuration Options
===========================

Trove and Troveclient are both in the package group of the controller.  The
troveclient is in the package group of the compute node.  To add the unit tests
to either image, add the following layer to your configuration:
--with-template=feature/openstack-tests


Test Steps
==========

This section describes test steps and expected results to demonstrate that
Trove is integrated properly into OpenStack.

Both components use the run_ostest_nose.sh script which needs to be manually
copied to the target.


Trove and Troveclient Unit Tests
===============================

On the controller:
sh run_ostest_nose.sh -t /usr/lib64/python2.7/site-packages/trove

Total: 741, Passed: 740


On either the controller or compute node:
sh run_ostest_nose.sh -t /usr/lib64/python2.7/site-packages/troveclient

Total: 202, Passed: 202

References
==========

 * https://github.com/openstack/python-troveclient
 * https://github.com/openstack/trove
 * https://wiki.openstack.org/wiki/TrovArchitecture
 * https://wiki.openstack.org/wiki/Trove