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 toDEBUGinstead of the defaultWARNINGlevel. 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*.conffiles 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-filearguments, 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 thelog-configname for this option is deprecated. we said what we said π--log-format FORMATβ alogging.Formatterlog message format string, and it can use any of the availablelogging.LogRecordattributes. Default:Noneβ¨--log-date-format DATE_FORMATβ format string for%(asctime)sin 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 π
- OpenStack Glance <http://glance.openstack.org>
π 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
π COPYRIGHT π
2010-present, OpenStack Foundation.
okay final vibe check bestie:glance-cache-pruner, section 1, version 33.0.0, dated Sep 30, 2026, from theGLANCE-CACHE-PRUNER(1)page itself. go prune something (responsibly) π πβ¨
π¦ where this page comes from
- ubuntu stonking: glance-common 2:33.0.0-0ubuntu1 Β· Apache-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms