glance/doc/source/cli/glancecachecleaner.rst
David Rabel 7e60fc6e05 Fix format in doc/source/cli/*
Current indentation is wrongly interpreted as quotation.
Also fixed some minor formatting issues.

Change-Id: Ie29e71f0394a432c255804b0d549aba56d1d5a1d
2018-03-10 08:17:43 +00:00

992 B

glance-cache-cleaner

Glance Image Cache Invalid Cache Entry and Stalled Image cleaner

SYNOPSIS

glance-cache-cleaner [options]

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 entries 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

General options

FILES

/etc/glance/glance-cache.conf

Default configuration file for the Glance Cache