Add a hook for backup processes to check if successful.

* Add a check_process hook to the base backup class
* Check the innobackupex log file for 'completed OK'

Fixes: Bug #1245673

Change-Id: I56ee5325e4d66f4bece0f70b26a1778fdb83e198
host response attribute should prefer 'host' instead of 'hostId'

Fixes bug 1249410

Change-Id: I95fac34d1c1ec117ec9b758f5ed28d34779eb343
Convert to a more modern form of openstack-common.conf

One module per line is the new hotness. I've also sorted the
modules alphabetically. There are no changes to your imports, but
this makes it easier for oslo maintainers to keep your imports up
to date.

Change-Id: I7581f4ad2ed853742a98aa6d6d4e9e0aeebce8fa
Merge "Convert to a more modern form of openstack-common.conf"
Fix action_result check

* change common.wsgi serialize_response to check for
  instances of Fault rather than webob.Response

Fixes: bug #1245546

Change-Id: I5a50234a8bd5d84918b87269054d23489e78629f
Added logging in taskmanager models && _() strings

Gone through taskmanager models, addding a few debugging statements to
some methods; should help operations teams find various instance task
timings.   Also made sure *every* logging statment used the _() method
and that it's consistent throughout the taskmanager model.

Change-Id: I07a58ecd1a7de0d6f998c7b263f86eb766973221
Update openstack/common/lockutils

The following commits are in this update:

79e6bc6 fix lockutils.lock() to make it thread-safe
ace5120 Add main() to lockutils that creates temp dir for locks
537d8e2 Allow lockutils to get lock_path conf from envvar
d498c42 Fix to properly log when we release a semaphore
29d387c Add LockFixture to lockutils
3e3ac0c Modify lockutils.py due to dispose of eventlet
90b6a65 Fix locking bug
27d4b41 Move synchronized body to a first-class function
15c17fb Make lock_file_prefix optional
1a2df89 Enable H302 hacking check
b41862d Use param keyword for docstrings
b873454 Added convenience APIs for lockutils
120ddef Improve Python 3.x compatibility
88d316f Locking edge case when lock_path does not exist
21925b6 Fix locking issues in Windows
547ab34 Fix Copyright Headers - Rename LLC to Foundation

Change-Id: Ie9b99ed80d603bdc7459ff7e25e3fba919429216
Externalization of heat template

Reasons: preparing trove to support multi-datastores
Changes: template loading, heat-support update

This code refactors the earlier code of instance creation using heat.

- Configuration templates stored at trove/templates/(datastore_type)/config.template
- Heat templates are stored in trove/templates/(datastore_type)/heat.template
- One template per datastore type
- New parameter - ImageId
- Removed SSH key parameter
- All resources are updated according to available OS resources
  (for more details please visit heat repository).

Author: Denis Makogon (dmakogon) <dmakogon@mirantis.com>
Co-Authored-By: Nilakhya Chatterjee (SnowDust) <nilakhya.chatterjee@globallogic.com>

Change-Id: Ie6863a625e1525e152ed2886a630dc4f233be8dc
Implements: blueprint provide-custom-heat-templates-for-each-service-in-trove
Merge "Added logging in taskmanager models && _() strings"
Merge "Fix action_result check"
Merge "Update openstack/common/lockutils"
Merge "host response attribute should prefer 'host' instead of 'hostId'"
Add support of datastore types

implements blueprint db-type-version

Change-Id: Ie87f72b898e993044803e7b37cad78372c2cd3f4
Merge "Add a hook for backup processes to check if successful."
Merge "Add support of datastore types"
Initial support for single instance Cassandra Database

Reasons
- This code adds ability to create/delete instance
with mongodb service type. No other operations supported.
- Trove should support multiple extensions. One of the is NoSQL support.
Main goal is to add support for Apache Cassandra NoSQL database.

Changes
This code adds ability to create/delete instance
with cassandra service type. No other operations supported.

Change-Id: Ib48f6392765af49c2df1447c3df46675825d210f
Implements: blueprint cassandra-db-support