.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "GLANCE-CACHE-CLEANER" "1" "November 08, 2023" "27.0.0" "glance" .SH NAME glance-cache-cleaner \- Glance Cache Cleaner .SH GLANCE IMAGE CACHE INVALID CACHE ENTRY AND STALLED IMAGE CLEANER .INDENT 0.0 .TP .B Author OpenStack Glance Project Team .TP .B Contact \fI\%glance@lists.launchpad.net\fP .TP .B Date 2019\-04\-10 .TP .B Copyright OpenStack Foundation .TP .B Version 18.0.0 .TP .B Manual section 1 .TP .B Manual group cloud computing .UNINDENT .SS SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .EX glance\-cache\-cleaner [options] .EE .UNINDENT .UNINDENT .SS DESCRIPTION .sp This is meant to be run as a periodic task from cron. .sp If something goes wrong while we\(aqre caching an image (for example the fetch times out, or an exception is raised), we create an \(aqinvalid\(aq entry. These entries are left around for debugging purposes. However, after some period of time, we want to clean these up. .sp Also, if an incomplete image hangs around past the image_cache_stall_time period, we automatically sweep it up. .SS OPTIONS .sp \fBGeneral options\fP .INDENT 0.0 .TP .B \fB\-h, \-\-help\fP Show the help message and exit .TP .B \fB\-\-version\fP Print the version number and exit .TP .B \fB\-v, \-\-verbose\fP Print more verbose output .TP .B \fB\-\-noverbose\fP Disable verbose output .TP .B \fB\-d, \-\-debug\fP Print debugging output (set logging level to DEBUG instead of default WARNING level) .TP .B \fB\-\-nodebug\fP Disable debugging output .TP .B \fB\-\-use\-syslog\fP Use syslog for logging .TP .B \fB\-\-nouse\-syslog\fP Disable the use of syslog for logging .TP .B \fB\-\-syslog\-log\-facility SYSLOG_LOG_FACILITY\fP syslog facility to receive log lines .TP .B \fB\-\-config\-dir DIR\fP Path to a config directory to pull *.conf files from. This file set is sorted, to provide a predictable parse order if individual options are over\-ridden. The set is parsed after the file(s) specified via previous \-\-config\-file, arguments hence over\-ridden options in the directory take precedence. This means that configuration from files in a specified config\-dir will always take precedence over configuration from files specified by \-\-config\-file, regardless to argument order. .TP .B \fB\-\-config\-file PATH\fP Path to a config file to use. Multiple config files can be specified by using this flag multiple times, for example, \-\-config\-file \-\-config\-file . Values in latter files take precedence. .TP .B \fB\-\-log\-config\-append PATH\fP \fB\-\-log\-config PATH\fP The name of logging configuration file. It does not disable existing loggers, but just appends specified logging configuration to any other existing logging options. Please see the Python logging module documentation for details on logging configuration files. The log\-config name for this option is deprecated. .TP .B \fB\-\-log\-format FORMAT\fP A logging.Formatter log message format string which may use any of the available logging.LogRecord attributes. Default: None .TP .B \fB\-\-log\-date\-format DATE_FORMAT\fP Format string for %(asctime)s in log records. Default: None .TP .B \fB\-\-log\-file PATH, \-\-logfile PATH\fP (Optional) Name of log file to output to. If not set, logging will go to stdout. .TP .B \fB\-\-log\-dir LOG_DIR, \-\-logdir LOG_DIR\fP (Optional) The directory to keep log files in (will be prepended to \-\-log\-file) .UNINDENT .SS FILES .INDENT 0.0 .TP \fB/etc/glance/glance\-cache.conf\fP Default configuration file for the Glance Cache .UNINDENT .SS SEE ALSO .INDENT 0.0 .IP \(bu 2 \fI\%OpenStack Glance\fP .UNINDENT .SS BUGS .INDENT 0.0 .IP \(bu 2 Glance bugs are tracked in Launchpad so you can view current bugs at \fI\%OpenStack Glance\fP .UNINDENT .SH AUTHOR OpenStack .SH COPYRIGHT 2010-present, OpenStack Foundation. .\" Generated by docutils manpage writer. .