lp:~jaypipes/glance/d3-proposed
- Get this branch:
- bzr branch lp:~jaypipes/glance/d3-proposed
Branch merges
- Jay Pipes (community): Approve
-
Diff: 518 lines (+192/-48)12 files modifiedetc/glance-api.conf (+2/-0)
glance/api/v1/images.py (+14/-10)
glance/common/client.py (+6/-0)
glance/store/__init__.py (+13/-10)
glance/store/filesystem.py (+3/-2)
glance/store/s3.py (+12/-0)
glance/store/swift.py (+47/-7)
run_tests.sh (+28/-10)
tests/functional/test_scrubber.py (+20/-4)
tests/unit/test_store_location.py (+40/-3)
tests/unit/test_swift_store.py (+6/-1)
tools/pip-requires (+1/-1)
Recent revisions
- 168. By Rick Harris
-
Adds image_cache_enabled config needed to enable/disable the image-cache in the glance-api.
- 167. By Jay Pipes
-
Add more unit tests for URI parsing and get_backend_class() (which is going away in refactor-stores branch, but oh well..)
Now raising exception.
BadStoreUri if glance. store.location. StoreLocation. parse_uri( ) is passed any URI that looks like this: swift://user:pass@http://
authurl. com/v1/ container/ obj - 165. By Brian Waldon
-
This updates the pep8 version in pip-requires and updates run_tests.sh to provide a '-p' option that allows for just pep8 to be run.
- 164. By Rick Harris
-
Fixes two things:
* Swift client library requires scheme to be specified
* Don't swallow exceptions on object get - 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.
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