2012-01-03 16:04:25 -05:00
|
|
|
====================
|
|
|
|
glance-cache-cleaner
|
|
|
|
====================
|
|
|
|
|
|
|
|
----------------------------------------------------------------
|
|
|
|
Glance Image Cache Invalid Cache Entry and Stalled Image cleaner
|
|
|
|
----------------------------------------------------------------
|
|
|
|
|
|
|
|
:Author: glance@lists.launchpad.net
|
2014-01-16 22:03:58 -07:00
|
|
|
:Date: 2014-01-16
|
2012-01-03 16:04:25 -05:00
|
|
|
:Copyright: OpenStack LLC
|
2014-01-16 22:03:58 -07:00
|
|
|
:Version: 2014.1
|
2012-01-03 16:04:25 -05:00
|
|
|
:Manual section: 1
|
|
|
|
:Manual group: cloud computing
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
========
|
|
|
|
|
2014-01-16 22:03:58 -07:00
|
|
|
glance-cache-cleaner [options]
|
2012-01-03 16:04:25 -05:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
===========
|
|
|
|
|
|
|
|
This is meant to be run as a periodic task from cron.
|
|
|
|
|
|
|
|
If something goes wrong while we're caching an image (for example the fetch
|
|
|
|
times out, or an exception is raised), we create an 'invalid' entry. These
|
|
|
|
entires are left around for debugging purposes. However, after some period of
|
|
|
|
time, we want to clean these up.
|
|
|
|
|
|
|
|
Also, if an incomplete image hangs around past the image_cache_stall_time
|
|
|
|
period, we automatically sweep it up.
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
=======
|
|
|
|
|
2014-01-16 22:03:58 -07:00
|
|
|
**General options**
|
2012-01-03 16:04:25 -05:00
|
|
|
|
2014-01-16 22:03:58 -07:00
|
|
|
.. include:: general_options.rst
|
2012-01-03 16:04:25 -05:00
|
|
|
|
2014-01-16 22:03:58 -07:00
|
|
|
FILES
|
|
|
|
======
|
2012-01-03 16:04:25 -05:00
|
|
|
|
2014-01-16 22:03:58 -07:00
|
|
|
**/etc/glance/glance-cache.conf**
|
|
|
|
Default configuration file for the Glance Cache
|
2012-01-03 16:04:25 -05:00
|
|
|
|
2014-01-16 22:03:58 -07:00
|
|
|
.. include:: footer.rst
|