changing conductor logging levels

Running conductor in a log level below debug needs a little more
info to know what the instance id is from the log messages.

Change-Id: Ie657d480282b4fb1702827ebe5007e0d2ca9a0cc
Closes-Bug: #1306805
Fix Couchbase Kill Command

'sudo pkill -9 couchbase-server' does not terminate couchbase,
but 'sudo pkill -u couchbase' does.

Change-Id: I88e71fb9c4e2356c1de80fe3aece9f97e5e8036c
Closes-Bug: #1308268
Merge "Fix Couchbase Kill Command"
Merge "changing conductor logging levels"
Bind to all interfaces for MongoDB

The existing config.template binds to 127.0.0.1 but the status check
uses operating_system.get_ip_address(). It works now because during
prepare the bind_ip is substituted. However, during operations like
start_db_with_conf_changes and reset_configuration, the substitution
does not occur causing the guest agent to show the service as SHUTDOWN.

Change-Id: I137471c6ee2652eac8a0e787098e04fb468f9828
Closes-Bug: #1312346
Moved the apidocs from openstack/database-api

By hosting the docs here we'll be able to better maintain that
developers are being mindful of changes or even occassionally writing
documentation for new API features. This should also allow us to
autogenerate the snippets.

Change-Id: I0111bcd38341b1736a47b0a3d3e6ff96d2ca1c58
Make sure eventlet starts correctly

This commit prevents a bug where eventlet was not being monkey patched
correctly. It also puts some code common to most of the scripts into
a common module to prevent some of the confusion surrounding
this and other initialization issues.

Closes-Bug: #1310785

Change-Id: I433dde896d7384e577e60ac3dd795a9c5c97d689
Mocks out file.open to not rely on OS dependent files

Change-Id: I5afc83afd2aa2d7c0dbe98b545fe1b9f90308429
Closes-Bug: #1309256
Correct inconsistent state issues with config

Running configuration-attach with 2 different configuration groups
against the same instance can result in unintended combinations of
dynamic parameters. In order to address this, 3 changes have been
made:
1. Return an error if a configuration-attach attempt is made to an
instance that already has an attached configuration group.
2. Only allow configuration-attach when instance is in ACTIVE state.
3. Always set RESTART_REQUIRED on configuration-detach.

Change-Id: I35770eafdc2841ac58b770851efc953e0370c2cb
Closes-Bug: #1301683
Check that all po/pot files are valid

Perform minimal checks on po and pot files so that no broken files can
get imported.

Change-Id: I5466178f713bfea3c4a674e1b408a060b3a526c5
Co-Authored-By: Clark Boylan <clark.boylan@gmail.com>
Related-Bug: #1299349
Remove usages of deprecated name LoopingCall in rpc

LoopingCall has been renamed to FixedIntervalLoopingCall
(no functional changes, so a 1:1 replace is just fine)

Closes-Bug: #1307560

Change-Id: Ic8ecf0b57b659446966d7501b8bc49316ff462b0
Merge "Mocks out file.open to not rely on OS dependent files"
Imported Translations from Transifex

Change-Id: Ia98f3f9d92b31a9709f15cba783d8d5dd71ca7e4
Merge "Correct inconsistent state issues with config"
Merge "Imported Translations from Transifex"
Improve help strings

Follow oslo.config style guide for help strings better to create
consistent help strings:
* Finish help strings with "."
* Improve capitalization and wording

Closes-Bug: 1314446
Change-Id: I69c2d368f5fd048cfaa4c911433f76c33271320e
Corrected the assert message in test_dbaas.py

Change-Id: Id0a6a9b3b674bfe724bcb83764a628388cfd38f6
Closes-Bug: #1311621
Unmounting ephemeral if it has already been mounted

Creating an instance from a backup fails when using
ephemeral storage (trove_volume_support = False).
When using ephemeral, nova automatically mounts the ephemeral
drive /dev/vdb into /mnt. This causes issues during the restore
from backup when the restore method tries to delete all files from
the mounted device. It gets an error complaining about the
"Device or resource busy".

To solve the problem, we should unmount the ephemeral storage
if it's been already mounted.

Change-Id: I007c1e11274f1f497d26bd9b1be1fc5b0830f84b
Closes-Bug: #1294369
Imported Translations from Transifex

Change-Id: I01e0d1165c6ea5f35c6daf7ba0c94b1b16ef96d1
Updated from global requirements

Change-Id: Iab7b6ed1890b7da98f4916dc90b523b52674f59c