Fix service_type in instance creation using heat services

parameters supplied to heat template should use service_type instead of hard-coded mysql

Fixes: Bug 1241655

Change-Id: I3cce6b35fc40f4ff4cc45b04714067956fb1869c
Fix white_box mode for integration tests.

* Removing outdated logic and old test paths that are
  hit when running instances tests in white_box mode.

Fixes: Bug #1243793
Change-Id: I944b63b9cf9ca0f5d8d2139cb2974f4c804ca30a
Add Backup/Restore Checksum Validation

Store the swift checksum for swift storage backups. The swift checksum is
the checksum of the concatenated segment checksums.  This is the checksum
that is stored with the DB backup record so we can verify that the checksum
on restore through a swift object HEAD call.

Adds restore from backup checksum validation at API and guestagent level.
* Integrate checksum verification with check object exists at API level.
* Verify checksum right before downloading swift file.
* Verify the current swift backup file checksum matches the original backup
  checksum to prevent loading and restoring a tampered backup file.

Add swift checksum storage unit tests

Also move backup verification logic outside quotas.

Implements: blueprint verify-backup-checksum-on-restore
Change-Id: I2844cfb8a8b31f6ea7622f99eff3bea9455161e1
Merge "Fix white_box mode for integration tests."
Merge "Fix service_type in instance creation using heat services"
Fixes trove-api daemon fake mode functionality.

This commit adds code to register taskmanager as a fake endpoint.
This allows the fake daemon to work again.

Fixes bug 1238901
Change-Id: Icb7c97cad3d76dc36a38126eb7f8b5929dc0d591
Fix bug in Security Group association to Instance

* Refactor of security groups to TaskManager left out an assignment that
  is required for the security_group to be attached to an intance.

fixes bug 1245767

Change-Id: I161d50b2ddb50dbf25eb67e10414425f098b9979
Merge "Add Backup/Restore Checksum Validation"
Merge "Fix bug in Security Group association to Instance"
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