logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

glance-cache-pruner - Glance Cache Pruner

Author

       OpenStack

Glance Cache Pruner

Author OpenStack Glance Project Team

       Contactglance@lists.launchpad.netDate   2019-04-10

       Copyright
              OpenStack Foundation

       Version
              18.0.0

       Manualsection
              1

       Manualgroup
              cloud computing

   SYNOPSIS
          glance-cache-pruner [options]

   DESCRIPTION
       Prunes  images  from  the  Glance  cache when the space exceeds the value set in the image_cache_max_size
       configuration option. This is meant to be run as a periodic task, perhaps every half-hour.

   OPTIONSGeneraloptions-h,--help
              Show the help message and exit

       --version
              Print the version number and exit

       -v,--verbose
              Print more verbose output

       --noverbose
              Disable verbose output

       -d,--debug
              Print debugging output (set logging level to DEBUG instead of default WARNING level)

       --nodebug
              Disable debugging output

       --use-syslog
              Use syslog for logging

       --nouse-syslog
              Disable the use of syslog for logging

       --syslog-log-facilitySYSLOG_LOG_FACILITY
              syslog facility to receive log lines

       --config-dirDIR
              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.

       --config-filePATH
              Path  to  a config file to use. Multiple config files can be specified by using this flag multiple
              times, for example, --config-file <file1> --config-file  <file2>.  Values  in  latter  files  take
              precedence.

       --log-config-appendPATH--log-configPATH
              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.

       --log-formatFORMAT
              A logging.Formatter log message format string which may use any of the available logging.LogRecord
              attributes. Default: None

       --log-date-formatDATE_FORMAT
              Format string for %(asctime)s in log records. Default: None

       --log-filePATH,--logfilePATH
              (Optional) Name of log file to output to. If not set, logging will go to stdout.

       --log-dirLOG_DIR,--logdirLOG_DIR
              (Optional) The directory to keep log files in (will be prepended to --log-file)

   FILES/etc/glance/glance-cache.conf
              Default configuration file for the Glance Cache

   SEEALSOOpenStackGlanceBUGS
       • Glance bugs are tracked in Launchpad so you can view current bugs at OpenStackGlance

Name

       glance-cache-pruner - Glance Cache Pruner

See Also