lp:~clay-gerrard/glance/fix_swift_http

Created by clayg and last modified
Get this branch:
bzr branch lp:~clay-gerrard/glance/fix_swift_http
Only clayg can upload to this branch. If you are clayg please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
clayg
Project:
Glance
Status:
Development

Recent revisions

166. By clayg

changes from feedback on merge

165. By clayg

fixed backend mapping

164. By clayg

sigh

163. By clayg

fixed swift+http location uri parsing of authurl

162. By Kevin L. Mitchell

One more auth_tok-related change, to make it easier for nova to use the client without violating any abstraction boundaries.

161. By Jason Kölker

Add fix for Bug #816386. Wait up to 5 min for the image to be deleted, but at least 15 seconds.

160. By Rick Harris

New local filesystem image cache with REST managment API

Additional changes include:

    * Added glance-reaper binary
    * Moved invalid cache entry reaping from glance-pruner to glance-reaper
    * Added stalled image detection and reaping
    * Added incomplete image listing (shows which images are currently being fetched)
    * Added percent progress to incomplete image listing and invalid image listing (useful when looking for failure trends)
    * Added ability to reap-invalid and reap-stalled directly from glance command. Helpful for testing and recovering from failures immediately (w/o having to wait for cron to kick off glance-reaper)
    * Renamed glance cache management commands. Now all start with 'cache-' and they better mirror the naming of 'image' commands
    * Fixed bug where print_help didn't have access to parser to print usage

159. By Jason Kölker

Allow delaying the actual deletion of an image.

If glance-api.conf has delayed_delete set to False or not set at all (it defaults to False) immediatly delete the image. If delayed_delete is set to True glance-api sets the status to pending_delete but does not call the backend delete. From the user's point of view it is actually deleted, and future calls will 404.

A new daemon glance-scrubber is introduced which looks for pending_delete images that are older than a configurable interval and will actually delete from the backend the images.

158. By Kevin L. Mitchell

Adds authentication middleware support in glance (integration to keystone will be performed as a piece of middleware extending this and committed to the keystone repository). Also implements private images. No limited-visibility shared image support is provided yet.

157. By Jay Pipes

This patch:

    Overhaul the way that the store URI works. We can now support
    specifying the authurls for Swift and S3 with either an
    http://, an https:// or no prefix at all.

    The following specifies an HTTP Swift auth URL:

    swift_store_auth_address = http://localhost/v1

    The following specifies an HTTPS Swift auth URL:

    swift_store_auth_address = https://localhost/v1
    swift_store_autth_address = localhost/v1

    The default scheme for Swift auth URL is HTTPS. For S3,
    the default for the s3_store_service_address is HTTP,
    since boto uses private key signing over HTTP by default
    on the s3.amazonaws.com domain. Note that the new S3 stuff
    isn't merged yet...

Future refactoring:

* Instead of storing the store_uri in the database in images.location, split the store_uri out into component pieces in an ImageLocation table, reducing duplicate records in the registry database.

* Never return the store_uri in the metadata. This contains security credentials (see LP Bug #755916)

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~hudson-openstack/glance/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers