Fail a test if time.sleep called for no reason

If a mild error screws something up in task manager, an entire class
of tests will continue polling using GET requests until they hit their
rate limit, destroying any attempt to parse the test output to see
what is wrong. This pull request fixes that.

Change-Id: I7c00a174dfb7970357ee2bd71550983d68e0e8ae
Closes-Bug: 1315518
Update database-api to follow OpenStack conventions

Update pom.xml for building the database-api document to follow the
conventions used by the OpenStack documentation team:
* Remove "review" from published guide
* Disable Disqus
* Use latest clouddocs-maven-plugin (2.0.2)
* Fix canonicalURL so that it points to the current location
* Fix formatting and whitespace of file

Remove hardcoded publication date from cdb-devguide, this gets
generated at build time.

Update doc-test.conf for pom.xml change.

Change-Id: I90eb16917edbb99d99147c4a8116f5bcf28e6975
Cleans up ServiceUser.__str__ method

Reasons:
- ServiceUser.__str__ in trove/tests/util/users.py contains code
  after the return statement.
- This code after unconditional return statement has no use.
- Thus, ServiceUser.__str__ method needs cleanup.

Changes:
- Removes the statements after return statement.
- Adds tenant name to the __str__.

Change-Id: Ic5e35969f435e01d94da7eb434cd8de19e2c9873
Closes-Bug: #1269437
Remove admin_token from configs

A previous review removed the admin_token from the sample config file.
It appears that devstack doesn't use that file but instead uses one of
the .test files.

Admin tokens are actively discouraged as a form of authenticating in
auth_token middleware and the behaviour when using admin_token in
combination with a username and password (as this default produces in
devstack) can lead to problems in authentication.

Closes-Bug: #1299332
Change-Id: I78d2c184f7937006b808d580e3663ab055f7c5fe
Corrects mgmt-taskmanager startup method

Adds 'conf' as an argument to mgmt_main which is accessed in startup
method.

Change-Id: Ie17ed92137200f0562894950df0479749492faf4
Closes-Bug: #1323395
Corrects the class name "ExtensionManager"

Corrects ExtensionManager to extensions.ExtensionManager which was
earlier written without the package name.

There were no errors encountered as first condition of the condition set
always evaluated True.

Change-Id: I1fd4016105a99a7baaad6d2613b0e709a09aeeb2
Closes-Bug: #1323400
Clean up openstack-common.conf

The issues are detected by new change about update.py
in I68c0108304be8a315bcefe939c22019caab9bc98. This patch
doesn't depend the oslo-incubator patch.
 * remove unused module config
 * add missing module loopingcall and remove module
   cfg in openstack-common.conf
 * sort the modules in openstack-common.conf

Closes-Bug: #1323622
Change-Id: I10cca7386ea8e586f7e35a2f0e5b3c5c14906d7e
Merge "Cleans up ServiceUser.__str__ method"
Merge "Remove admin_token from configs"
Remove unused xml config file

Change-Id: I2b0129fcf3fb9f2e206dc0d6ac422c5bcc82d6af
Closes-Bug: #1324317
Merge "Fail a test if time.sleep called for no reason"
Adds the foundation for datastore capabilities

This allows for capabilities to be set in the mysql database capabilities
table and associated to datastores with the datastore_capabilities
table. This allows users to have datastore specific functionality that
is configurable and able to be served to end users. This commit is for
the groundwork for the capabilities API.

Change-Id: I7153d435bf8c00dc2a874a66c7a2b64e8fbafa09
Partially-Implements: blueprint capabilities
Include datastore version details in datastore calls

Currently it takes n+1 API calls to obtain the versions for each
datastore. This blueprint augments the response to add
the version details.

Implements: blueprint list-datastore-type-and-versions

Change-Id: I2fc2da8109d23038909f5f604cabf209e2eb1d11
switch from mox to mox3

Mox3 is an unofficial port of the Google mox framework to Python 3.

Closes-bug: 1283482
Change-Id: I3f558420bc720880eb91fca7b936bdcd6949a513
Merge "Corrects the class name "ExtensionManager""
Merge "Clean up openstack-common.conf"
Merge "Corrects mgmt-taskmanager startup method"
Merge "switch from mox to mox3"
Merge "Include datastore version details in datastore calls"
Merge "Remove unused xml config file"