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
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
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"
pep8: Ignore locale files

Ignore locale files for pep8 gate, otherwise translation jobs
will not merge, see https://review.openstack.org/#/c/97008/

implements bp log-messages-translation-domain-rollout

Change-Id: Ia6ef83997aa68cb9c4e9065c42611a414d9cfdd7
Fix log reporting for DNS creation process

Reasons:
 - Taskmanager reporting about creation of
   DNS record even if DNS is disabled.

Changes:
 - Moving log report call bellow DNS creation
   capabilities check.

Change-Id: I2245a52c8f30ae75f93b720c3ba71db04e04c547
Closes-Bug: #1325517
Enabled H402 flake8 rule

Added support for flake8 H402: one line docstring needs punctuation.

Reasons:
- H402 is disabled in tox.ini, it needs to be enabled to make code
  more flake8 compliant.

Changes:
- Updated tox.ini to enable H402 rule.
- Updated code for H402 violation.
- Updated one word docstrings to be more meaningful.

Change-Id: I5e67b641717c9704ef4b9f6267390561e4840fff
Wait for Couchbase to be ready before node-init

Changes:
* Make install_if_needed consistent with MongoDB
* Don't run node-init as part of install_if_needed
* Start Couchbase and poll until ready before node-init

Closes-Bug: #1325753
Change-Id: I1bbb616b6ec2eb6b83faa30f597a6331421542fb