Fixed backups GET and DELETE to restrict access to the owner of backup

Fixed the db model find_by so that when a model instance is looked up and a
context is passed in, the find_by operation fails if the tenant_id in the
instance is not the same as the tenant_id in the context (except if the
tenant is an admin).

Fixed bug 1188822

Change-Id: I0374f999601fa3f2bc817901bbc428b8be219683
Fix few missed issues with the reddwarf -> trove rename

There were a few files that were touched after the reddwarf->trove
rename that were still referencing "reddwarf". Changed these
references to "trove".

Fixed bug: 1194636

Change-Id: I7c7b014dee3b3a540baa84ad491812e17a8235ee
GuestTimeout needed to be imported.

Change-Id: Ib4665cd377bf52399bbc7dcb6fdff9ef8a5bb6c7
Merge "Fix few missed issues with the reddwarf -> trove rename"
Update kombu library version requirement

Openstack requirements mandate kombu>2.4.7, we seem to be the only
project pinning the version.
 - See: https://github.com/openstack/requirements/

Change-Id: I8758cda0d5561cc2971ac8723f6e899bdd9189ee
Merge "Update kombu library version requirement"
Fix Notifications

    Conditionally include Service ID for create/delete instance
    Removed old configuration for Exists Notifications

Change-Id: Id2d87b6dffff00479c9ef0ecd8dd77e3e1e3eb47
Fixes: bug #1192384
Merge "Fixed backups GET and DELETE to restrict access to the owner of backup"
Requirements: Remove factory_boy, allow SQLAlchemy 0.7.10

SQLAlchemy 0.7.10 is compatible with SQLAlchemy 0.7.x, so
allow it. Also remove dependency on factory_boy, which
seems to be unused.

Change-Id: Idb6bdf6ba02f2d826e2d11a9e2324f7d0a236a57
API Validation for Trove API

    Replaced validation with new and improved json schema validation
    Fixed malformed json schema bug #1177969
    Fixed integration test for create_user; correct databases
    Fixed integration for create_users; invalid character_set param

Implements: json-schema-support

Change-Id: I6ca09803654d9e78362fde69185b5b9e05a5eb6b
Enable disk usage view in instance detail view

- support both volume and ephemeral modes

Bug #1194597

Change-Id: I407268a74d979f95969e29cf54191f92afe0c3e9
Adding instance id to the security group extension API

- Secgroup list now show their corresponding instances
- Secgroup get also show its corresponding instance

Fixes bug 1190410

Change-Id: Ifb7b1c9be741fca221267243b86ce0d91b994015
Python 3.x compatibility fixes

Mechanical translation of the easy-to-fix Python 2.x->3.x
compatibility issues. Should work with all Python versions
>= 2.6.

Change-Id: I693ff5d72b2db8d9d3a3347f70f22290897e9cff
Restore should use pgrep instead of mysqladmin to check for mysql down

For a short window, while mysql is shutting down, it stops accepting
network connections but the mysqld process is still alive.

During this window mysqladmin ping reports that mysql is down and
trying to start mysql fails with:
"mysqld_safe A mysqld process already exists"

Use pgrep (during restore) instead of mysqladmin ping to check mysql
is down to fix this.

Fixes bug: 1197161

Change-Id: Id8b8e15b4b6136c8acbc3cac17691a65a1a4ed14
Merge "Enable disk usage view in instance detail view"
Merge "API Validation for Trove API"
Merge "Restore should use pgrep instead of mysqladmin to check for mysql down"
Fixing the broken API contract for flavor_id

fixes bug 1198318

Change-Id: Ifae19ab495bdb274fb840741f0cde5274b633b31
Update to latest Oslo rpc modules

* Oslo rpc code now supports heartbeats which will provide Trove
  reliable connections to guests
* Updated the rpc module only via the oslo update procedures

Addresses blueprint trove/update-oslo

Change-Id: I2e25afc0a20d7d834aaf477a32b9a69aa27a9eba
Merge "Requirements: Remove factory_boy, allow SQLAlchemy 0.7.10"