GLANCE-CACHE-CLEANER(1)

🌸 GLANCE-CACHE-CLEANER(1) β€” the manual page bestie πŸ’…

okay so this is the manpage for glance-cache-cleaner, which lives in manual section 1 and belongs to the manual group cloud computing. she's part of the OpenStack Glance project, so yeah, we're in cloud-computing girlie territory ✨


πŸ‘‘ GLANCE IMAGE CACHE INVALID CACHE ENTRY AND STALLED IMAGE CLEANER

hiii welcome to the lore section 🫢 here's who made this whole thing happen:

  • Author β€” OpenStack Glance Project Team
  • Contact β€” <glance@lists.launchpad.net>
  • Date β€” 2025-04-02
  • Copyright β€” OpenStack Foundation
  • Version β€” 30.0.0
  • Manual section β€” 1
  • Manual group β€” cloud computing

✨ SYNOPSIS ✨

glance-cache-cleaner [options]

πŸ’– DESCRIPTION πŸ’–

okay so the whole point of this one: it's meant to be run as a periodic task from cron. like, she's a background girlie. she doesn't need attention, she just shows up on schedule and handles her business πŸ’…

here's the tea on what she cleans up:

if something goes wrong while we're caching an image β€” say the fetch times out, or an exception gets raised, whatever β€” we create an 'invalid' entry. these entries just get left around on purpose, for debugging purposes. but after some period of time? we wanna clean those up. bye bestie πŸ‘‹

also, if an incomplete image hangs around past the image_cache_stall_time period, we automatically sweep it up. no stragglers allowed, periodt 🧹✨

πŸŽ€ OPTIONS πŸŽ€

General options

  • -h, --help β€” show the help message, then dip. classic.
  • --version β€” print the version number and exit. she said "who am I? πŸ’"
  • -v, --verbose β€” print more verbose output. she's talking more now πŸ™ˆ
  • --noverbose β€” disable verbose output. shhh, we're being demure.
  • -d, --debug β€” print debugging output (this sets the logging level to DEBUG instead of the default WARNING level). full unhinged logging mode, we love her πŸ’€
  • --nodebug β€” disable debugging output. put the debug back in the box.
  • --use-syslog β€” use syslog for logging.
  • --nouse-syslog β€” disable the use of syslog for logging.
  • --syslog-log-facility SYSLOG_LOG_FACILITY β€” the syslog facility that receives log lines.
  • --config-dir DIR β€” path to a config directory to pull *.conf files from. this file set gets sorted, so you get a predictable parse order if individual options are over-ridden. the set is parsed after the file(s) specified via previous --config-file arguments, which means over-ridden options in the directory take precedence. translation: configuration from files in a specified config-dir will always take precedence over configuration from files specified by --config-file, regardless of argument order. she said directory girlies stay winning πŸ‘‘
  • --config-file PATH β€” path to a config file to use. you can specify multiple config files by using this flag multiple times, like --config-file <file1> --config-file <file2>. values in latter files take precedence. last one in wins, no cap.
  • --log-config-append PATH, --log-config PATH β€” the name of a logging configuration file. this does not disable existing loggers β€” it just appends the specified logging configuration to any other existing logging options. please see the Python logging module documentation for details on logging configuration files. heads up: the log-config name for this option is deprecated ⚠️
  • --log-format FORMAT β€” a logging.Formatter log message format string, which may use any of the available logging.LogRecord attributes. Default: None
  • --log-date-format DATE_FORMAT β€” format string for %(asctime)s in log records. Default: None
  • --log-file PATH, --logfile PATH β€” (optional) name of the log file to output to. if it's not set, logging goes to stdout.
  • --log-dir LOG_DIR, --logdir LOG_DIR β€” (optional) the directory to keep log files in (this gets prepended to --log-file).

πŸ“ FILES πŸ“

  • /etc/glance/glance-cache.conf β€” the default configuration file for the Glance Cache. her home base 🏠

🌈 SEE ALSO 🌈

πŸ’€ BUGS πŸ’€


Author β€” OpenStack

Copyright β€” 2010-present, OpenStack Foundation.


and that's the whole page bestie, ty for coming to my TED talk πŸŽ€ this edition was stamped 33.0.0 on Sep 30, 2026 β€” mwah, slay, go clean some cache πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from