Adding Keystone support for Glance client.

Implements bp pluggable-auth

Change-Id: I2a6e3b1ab4c50200ece64a2e07bf81e9e6467efd
Open Essex

Switch version to 2012.1

Change-Id: I7a484997bbd033f11256cacc19a5a19c416c7eeb
Fixes LP Bug#845788

glance.client.image_update needed to calculate size so that Glance's Swift
driver can do chunking properly for large objects.

Change-Id: Iafe8034a710cff53a0caa3ae5e9ee3a3adda19f8
Merge "Adding Keystone support for Glance client."
Merge "Fixes LP Bug#845788"
* Scrubber now uses registry client to communicate with registry
* glance-api writes out to a scrubber "queue" dir on delete
* Scrubber determines images to deleted from "queue" dir not db

Change-Id: Ia5574fc75f1a9c763bdef0f5773c2c182932b68a
Updating image status docs

Fixes lp bug#844932

Change-Id: Iee4571a2ebdd295f4324e02cde65a96fb53aceb9
Merge "Updating image status docs"
Merge "* Scrubber now uses registry client to communicate with registry * glance-api writes out to a scrubber "queue" dir on delete * Scrubber determines images to deleted from "queue" dir not db"
Fix keystone paste config for functional tests

Change-Id: I67685911ae087e245b3622cde890263a14e875a1
Fixes bug 851016.

Fixed test_migrations.py so that it runs migrations again. It will also now fail if test_migrations.conf cannot be found.

Change-Id: I669cc1dda1dc247dc86c6e271b00d296f8445a15
Fixes LP Bug #833285

Large objects, uploaded to Swift using the large object
manifest method, are uploaded in chunks/segments in the
Swift store driver.

Unfortunately, doing a DELETE on the object only deletes
the manifest, leaving the chunks/segments orphaned. This
patch makes the Swift store driver check for the existence
of an object manifest, and if found, deletes all intermediate
chunks, then deletes the object manifest itself.

Adds a functional test to check the segments are actually
deleted.

Change-Id: Ib5787581a57e419393faca198d867db757fc03b3
Fixes Bug #851216

Fixes a recurring issue with tests that were
decorated with the @runs_sql decorator where the
file-based SQLite registry database used in those
tests was not being properly cleaned up, which was causing
some random-looking failures when python setup.py test was
run for the DEB builders on Jenkins.

According to Monty, files needed in testing do indeed need
to be in MANIFEST.in, so I added the test_migrations.conf
file to that. Sorry, BrianW!

Change-Id: I6535b999921d159de5d957f6b70df3c13310e449
Fixes LP Bug #804429

The try: finally: block which called conn.close() in the
http store driver was flawed and the connection was not
being properly released. This changes the
http_response_iterator generator to accept the HTTP connection
and close it on final yield.

Change-Id: I545a7f5c93ccd196a99b50e8464778e075b549d8
Merge "Fixes LP Bug #833285"
Merge "Fixes LP Bug #804429"
Fixes LP Bug#755916 - Location field shows creds

Removes the Location field from the return of the
API server's GET /images/detail and GET /images/<ID>
calls. The Registry server API was unchanged, as the API
server needs to call the Registry server in order to
find location information...

Change-Id: I914456ad3879f19fa0b55c8a89b8217c193193d8
Fixing bug 794582 - Now able to stream http(s) images

Change-Id: Ic04dfe32acc21ff068ef0964541c47eee41fbe3b
Merge "Fixing bug 794582 - Now able to stream http(s) images"
Added min_disk and min_ram properties to images
Fixes LP Bug#849368

Change-Id: I3e17370537144d117d99af5fa5a21df830b7c7ed