Fix checksum verification exception.

Previously if an invalid checksum was found, the exception would not be
raised. This commit also makes the tests for backup run in fake mode
run again (turns out there was no reason to disable them) since they
helped find this, and cleans up an issue with the restore backup test
(it used the current size of an instance created elsewhere for no
reason).

Fixes bug 1246368

Change-Id: I96a570a93695b017e5c6966fa1482d6ec5aef426
Add optional ip address filter for hiding ips

Change-Id: I9f7631b9137062913379b45c98c545dda02ce284
Implements: blueprint add-ip-addr-filter-to-instance-view
Replace GUID with generated password

Change-Id: Id17f60db4df7188ec79faddc25453159a4f65fba
Closes-Bug: #1227913
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
Update tests to work with the latest testtools

Testtools has been updated recently. Unit tests updated
to work with the latest version.

Fixes bug: 1248896

Change-Id: If4d71a394b2f9b7f5f1b612ae19273de7bec54ce
Merge "Replace GUID with generated password"
Merge "Add optional ip address filter for hiding ips"
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
User-Create Host Does Not Allow Wildcarded Octet

as of now, the only wildcarding pattern that will succeed for
user-create's 'host' parameter is '%'.

this patch permits wildcarded octets, e.g. '10.%' & '192.168.1.%'

Change-Id: If58ee69381d1bbf3be4af37c045d6f8a2d924947
Closes-Bug: 1245705
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