Make new image cache a true extension
Bug #817570 reported by
Jay Pipes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Jay Pipes |
Bug Description
An extension should be able to be fully removable from an application pipeline.
We need to figure out a way for:
* Removing the image_cache_enabled configuration option
* Making the cache management bin/glance and client commands extensible
Changed in glance: | |
milestone: | none → essex-1 |
Changed in glance: | |
assignee: | nobody → Jay Pipes (jaypipes) |
status: | Confirmed → In Progress |
importance: | Low → Medium |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | essex-1 → 2012.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/923 github. com/openstack/ glance/ commit/ ad9e9ca3f741af7 14b9faf46224bf1 2e4a2693bd
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit ad9e9ca3f741af7 14b9faf46224bf1 2e4a2693bd
Author: Jay Pipes <email address hidden>
Date: Tue Oct 18 09:27:27 2011 -0400
Overhauls the image cache to be truly optional
Fixes LP Bug#874580 - keyerror 'location' when fetch errors
Fixes LP Bug#817570 - Make new image cache a true extension
Fixes LP Bug#872372 - Image cache has virtually no unit test coverage
* Adds unit tests for the image cache (coverage goes from 26% to 100%) prefetcher. conf files
* Removes caching logic from the images controller and places it into
a removeable transparent caching middleware
* Adds a functional test case that verifies caching of an image
and subsequent cache hits
* Removes the image_cache_enabled configuration variable, since it's
now enabled by simply including the cache in the application
pipeline
* Adds a singular glance-cache.conf to etc/ that replaces the
multiple glance-pruner.conf, glance-reaper.conf and
glance-
* Adds documentation on enabling and configuring the image cache
TODO: Add documentation on the image cache utilities, like reaper,
prefetcher, etc.
Change-Id: I58845871deee26 f81ffabe1750adc 472ce5b3797