GLANCE-CACHE-PRUNER(1)

πŸ’– GLANCE-CACHE-PRUNER πŸ’–

okay so bestie, welcome to the manual page for glance-cache-pruner β€” section 1 of the manual, living in the cloud computing manual group. it's the Glance Cache Pruner, and yes, it's exactly as iconic as it sounds. πŸŽ€


✨ NAME ✨

glance-cache-pruner β€” Glance Cache Pruner πŸ§ΉπŸ¦‹


πŸ‘‘ GLANCE CACHE PRUNER πŸ‘‘

before we even get to the good stuff, here's the whole vibe card πŸ’…

  • 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-pruner [options]

that's it, that's the whole thing, she's lowkey simple 🫢


πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea, bestie: this little icon πŸ‘‘

glance-cache-pruner prunes images from the Glance cache whenever the space being used goes over the value you set in the image_cache_max_size configuration option. like, the cache gets too full, she declutters. main character energy fr fr.

and the way you're supposed to run her? as a periodic task β€” the manpage literally suggests maybe every half-hour. so like, set her on a lil schedule and let her cook. no cap. ⏰✨


πŸ’… OPTIONS πŸ’…

🌸 General options 🌸

  • -h, --help β€” shows you the help message and then dips out. bye bestie πŸ‘‹
  • --version β€” prints the version number and exits. identity check, sorta πŸ’–
  • -v, --verbose β€” prints more verbose output. she's chatty today πŸ—£οΈ
  • --noverbose β€” disables verbose output. she's giving peace and quiet 🀫
  • -d, --debug β€” prints debugging output β€” this sets the logging level to DEBUG instead of the default WARNING level. all the lore, unlocked πŸ”
  • --nodebug β€” disables debugging output. closing the lore book πŸ“•
  • --use-syslog β€” uses syslog for logging πŸͺ΅
  • --nouse-syslog β€” disables the use of syslog for logging 🚫
  • --syslog-log-facility SYSLOG_LOG_FACILITY β€” the syslog facility that receives the log lines 🏠
  • --config-dir DIR β€” path to a config directory to pull *.conf files from. this file set is sorted, so you get a predictable parse order in case individual options get over-ridden. the set is parsed after the file(s) you specified via earlier --config-file arguments, which means over-ridden options inside the directory take precedence. translation: config from files in a specified config-dir will always take precedence over config from files specified by --config-file, no matter what order the arguments came in. so argument order? doesn't matter, bestie, she decided already πŸ‘‘
  • --config-file PATH β€” path to a config file to use. you can stack multiple config files by using this flag multiple times, like --config-file <file1> --config-file <file2>. values in the latter files take precedence. last one standing wins πŸ†
  • --log-config-append PATH --log-config PATH β€” the name of the logging configuration file. heads up: it does not disable existing loggers β€” it just appends the specified logging configuration to any other existing logging options. peep the Python logging module documentation for the details on logging configuration files πŸ‘€. also the log-config name for this option is deprecated. we said what we said πŸ’€
  • --log-format FORMAT β€” a logging.Formatter log message format string, and it can 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. no file, no problem 🫢
  • --log-dir LOG_DIR, --logdir LOG_DIR β€” (optional) the directory to keep log files in β€” this gets prepended to --log-file. yes, prepended. remember that 🎯

πŸŽ€ FILES πŸŽ€

  • /etc/glance/glance-cache.conf β€” the default configuration file for the Glance Cache. she lives here πŸ’–πŸ 

🌟 SEE ALSO 🌟


πŸ’€ BUGS πŸ’€

  • Glance bugs are tracked in Launchpad, so you can view current bugs at OpenStack Glance <http://bugs.launchpad.net/glance> β€” go be a lil detective if something's acting up πŸ•΅οΈβ€β™€οΈ

⭐ AUTHOR ⭐

OpenStack

2010-present, OpenStack Foundation.


okay final vibe check bestie: glance-cache-pruner, section 1, version 33.0.0, dated Sep 30, 2026, from the GLANCE-CACHE-PRUNER(1) page itself. go prune something (responsibly) πŸ’…πŸŒˆβœ¨
πŸ“¦ where this page comes from