Matt Riedemann 0fb67d459b Fix AttributeError in api example snippets tests
Change I3f020b6bcb1b9bf6d18a3b4f738c13cccd1bbff8 in
python-troveclient 2.11.0 changed the
troveclient.compat.client._logger variable to be a LOG
variable.

I have no idea how this hasn't been breaking the Trove
API examples CI job since python-troveclient 2.11.0 was
released. Maybe it has an no one has noticed or cared to
fix it.

Anyway, this adds hasattr checking in the test code to
set the log level on the correct variable based on which
version of troveclient is being used.

Also - no idea why setting the log level in the client
for these API tests is even necessary, but this dates back
to a change in 2014 so who knows. Not me.

--

This also fixes bug 1708171 by making nova run in
singleconductor mode so the affinity/anti-affinity
scheduling tests work. Trove CI is blocked by both
changes so they have to go together.

Change-Id: Iaf00fc55336a8049c8303b8fa2849df2366115e6
Closes-Bug: #1708190
Closes-Bug: #1708171
2017-08-02 14:02:07 -04:00
2015-05-29 07:27:59 +00:00
2017-07-03 10:08:16 +02:00
2017-03-02 07:26:27 +00:00
2016-10-24 04:12:55 +00:00
2013-06-14 18:25:42 -04:00
2013-06-24 14:11:15 -07:00
2014-03-19 15:06:23 +01:00
2016-10-26 05:27:09 +00:00
2015-05-29 07:27:59 +00:00
2017-01-29 03:04:10 +00:00
2013-04-29 18:01:12 -04:00
2016-09-14 13:56:24 -04:00
2016-12-01 22:07:32 +00:00
2017-01-11 07:56:35 -05:00
2017-03-02 11:57:16 +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

Description
OpenStack Database As A Service (Trove)
Readme 114 MiB
Languages
Python 95%
Shell 4.9%