Update glance to pass properly tenant_name.

- Update glance with the latest changes in swift.common.client.
- Use 5000 for port.
- Properly test v2 in tests.
- Fixes bug 980196.
- Test swift against a specific stable version like for keystone.

Change-Id: Iaff536efc92e78e51d8042010ce0eb407c4a71b2
Implement image data upload/download for v2 API

* Add the ImageDataController to handle upload/download of image data
* Expose file link in image entities
* Implements bp api-v2-image-upload

Change-Id: Id3618bd292b61cd5eedf48a034fa66fd80917b72
Merge "Implement image data upload/download for v2 API"
Implement v2 API image tags

* Add image_tags table and new db methods to manage it
* Add appropriate API resource classes
* Implements bp api-v2-image-tags

Change-Id: I5f3748b15239de8da000e7b3ff537c1cfc8e2f0d
Disallow image uploads in v2 API when data exists

When data has already been uploaded for an image (determined by the existence
of a location attribute), reject any subsequent requests to upload data with
a 409 HTTP error code.

* Related to bp api-v2-image-upload

Change-Id: I0c4d2ebf548862ecb9c760bac9e96348f8377567
Implement v2 API access resource

* Add functional tests
* Implements bp api-v2-image-access

Change-Id: If62f4c0c9b387bb1f99306d68b18ad21f5f875d1
wsgi: do not respawn on missing eventlet hub

Eventlet 'poll' hub is not available on OSX, wsgi.Server workers have no
chance to start but the error was not caught and they were respawned
endlessly. This patch makes these workers not to be respawned.

This has the nice side-effect of avoiding the test suite to get stuck in
test_multiprocessing on OSX, filling syslog.

Change-Id: I565d21f5c6861102e96d6953ace29cde57e8ec38
Allow chunked image upload in v2 API

* Related to bp api-v2-image-upload

Change-Id: I728cdd28cab1d63d67cd7ad6c9d33535af4d5535
Fixes bug 997565.

Modified the help text for 'add' image command.

Change-Id: I32cbd36a3a4ef6368f9128ac0ab4a8efbd14ff2e
Fix tiny format string nit in log message.

Fixes bug 996157

To avoid "ValueError: unsupported format character ':' ..."

Change-Id: I8666b3441ccbea884dcd7ad54f019a0681b717b4
Support custom properties in schemas for v2 API

* Add glance schema API (glance.schema:API)
* Disallow custom properties that conflict with base properties
* Implements bp api-v2-schemas

Change-Id: Ibfa617cb5edf16627627debc30149669213d4b2d
Load schema properties when v2 API starts

* Read properties from etc/schema-image.json and etc/schema-access.json
* Gracefully handle the lack of custom schema property files
* Partially implements bp api-v2-schemas

Change-Id: Ida1a5afe48be9bce8a5d8faeeda9ed03848a4fd0
Test that v2 deserializers use custom schemas

* Related to bp api-v2-schemas

Change-Id: I82d0692af5196754738d3684a0f1ea116051dae8
Expose deployer-specific properties in v2 API

* Validate deployer-specific image attributes in requests
* Don't validate data on serialization (yet)
* Partially implements bp api-v2-schemas

Change-Id: Ice5240f05cb8726423386657305381dbd6cfa6eb
Simplify JSON Schema validation in v2 API

* Move validation into glance/schema.py
* Related to bp api-v2-schemas

Change-Id: Ic3114a1803ef994f5eb92327c8c6b65de2dc1ff0
Combine v2 functional image tests

Reverse the premature optimization of breaking up functional tests
for images, tags, and access records

Change-Id: I0e54c08b84403a1b1e62851c9fe8995f6dd5fa4d
Merge "Update glance to pass properly tenant_name."
Merge "Combine v2 functional image tests"
Add credential quoting to Swift's StoreLocation.

 * Added credential quoting in glance.store.swift.StoreLocation
   to support usernames and passwords that contain '@' characters.
   Without quoting, '@' characters in credentials (e.g. using an
   email address as a username) would result in an exception being
   thrown by parse_uri.
 * Added a migration to support the change in location format.
 * Addresses bug 994296

Change-Id: I92c4f4af914394aada1b4415a42f5a1308187dc4
Implements blueprint import-dynamic-stores.

Make glance more pluggable with regard to stores.

Change-Id: I7b264d1b047a321f7b60857bb73154f831b82a7b