bin/glance and caching sqlite driver column discrepancies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Brian Waldon |
Bug Description
I'm seeing some discrepancies with what bin/glance uses and what the sqlite image cache driver provides.
bin/glance looks for:
image['id']
image['
image['
Our existing sqlite table however contains the following columns:
);
-bin/glance needs to be update to use 'image_id' and 'last_access'.
-we appear to need the expected_size column added to our sqlite DB.
Changed in glance: | |
assignee: | nobody → Dan Prince (dan-prince) |
status: | New → In Progress |
Changed in glance: | |
milestone: | none → essex-2 |
Changed in glance: | |
assignee: | Dan Prince (dan-prince) → Jay Pipes (jaypipes) |
Changed in glance: | |
assignee: | Jay Pipes (jaypipes) → Brian Waldon (bcwaldon) |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | essex-2 → 2012.1 |
To be clear. Most of the cache- commands in bin/glance appear to be affected by this issue:
Cache Commands:
cache-index List all images currently cached
cache-invalid List current invalid cache images
cache- incomplete List images currently being fetched
cache- prefetching List images that are being prefetched
cache-prefetch Pre-fetch an image or list of images into the cache
cache-purge Purges an image from the cache
cache-clear Removes all images from the cache
cache- reap-invalid Reaps any invalid images that were left for
debugging purposes
cache- reap-stalled Reaps any stalled incomplete images