Add pre and check phases to test migration 006

Assure the column name changed and the data is accessible on it.

Change-Id: I1befe31a2c37fd5a27833cf2d41dfb5a57190c39
Cannot change locations on immutable images

This change extends immutability to the contents of image locations.

Change-Id: I5bfe9b73733eb92e0d27bd0222f6ad1a89ce5d78
Update documentation to reflect API v2 image sharing

Related to bp glance-api-v2-image-sharing

Change-Id: Ida2f530ef2c8474ec29f8870c2218c291a9e449c
Merge "Cannot change locations on immutable images"
A test for concurrency when glance uses sleep.

Bug 988099 showed that time.sleep was not being monkey patched
resulting in no concurrency when a sleep was called.  This was
fixed with change I24dfe818.  This commit provides a regression
test to ensure that this behavior remains in place as glance is
developed over time.

Change-Id: Iafbfaa9fd672b5ffd1d19a43dee03dfbfc6d3a2d
Merge "Add pre and check phases to test migration 006"
Merge "Update documentation to reflect API v2 image sharing"
Generate notification for cached v2 download

Cached v2 image downloads were not generating notifications.
For now use a 'size_checked_iter' to generate a
notification.

Fix for bug 1132755.

Change-Id: Iec01efb93d7a1853973d355221d06fad9631afd7
Remove unused variable 'image_member_factory'

Fixes LP: #1134465

Change-Id: I99b7f4754646a93f2f6625c50f99585dd8b381ba
Refactor leaky abstractions

Prior to this change, it was common for a domain layer that was wrapping
Image objects returned by methods to neglect to unwrap the objects on
the way in to other methods.

This change fixes that by making proxy base classes less leaky and
inheriting from them in the various domain layers.

Change-Id: I22866cdd800c4c95b43c92762ead3775cffeaa80
Update acls in the domain model

This change brings the domain model up to speed with the v1 stack by
issuing calls to store.set_acls whenever
 - an image is saved into the database (and locations are set)
 - a member is added to an image (and locations are set)

related blueprint glance-api-v2-image-sharing

Change-Id: I45f10752f6c04646b65f86e44b59bdeea534f024
Merge "A test for concurrency when glance uses sleep."
Switch to oslo.config.

The oslo-config package has been renamed. Switch to the new
version. (should fix SmokeStack).

Change-Id: I6744337008825498a2f0f5c74139661410968f50
Merge "Generate notification for cached v2 download"
Merge "Update acls in the domain model"
Merge "Switch to oslo.config."
Merge "Remove unused variable 'image_member_factory'"
Handle swift 404 in scrubber