Bug 1041145 - [RFE][nova]: Improve image cache handler
Summary: [RFE][nova]: Improve image cache handler
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: Ami Jeain
URL: https://blueprints.launchpad.net/nova...
Whiteboard: upstream_milestone_none upstream_stat...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 13:47 UTC by RHOS Integration
Modified: 2019-09-09 13:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 17:44:48 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description RHOS Integration 2013-12-12 13:47:13 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/multiple-image-cache-handlers.

Description:

This blueprint aims to implement support for multiple image cache handlers on
compute nodes (only one manager will be chosen from the set of available
drivers). Currently there is only one ImageCacheManager, that removes
images older than N seconds. This appliest to the libvirt driver (and baremetal,
since it uses libvirt's manager).

Features to implement:

BaseImageCacheManager
=====================

Split the current manager into an abc BaseImageCacheManager that will be inherited
by all the other image cache managers.

Thresholds
=========

The current manager deletes all the files, regardless of the free space on disk. We may add a threshold so that images are only removed if that threshold is reached.

Configurable image cache manager
================================

With this change it will be possible to change the manager, so we should add
support for this, via a configuration option.

Implementation of some other ImageCacheManager
==============================================

There are some more advanced managers that can be implemented:

 - A popularity-based ImageCacheManager.
 - LRU manager.
 - Protected images manager (i.e. once an image is cached, do not remove it).

Specification URL (additional information):

None


Note You need to log in before you can comment on or make changes to this bug.