re-run the tool with latest version. Closes-Bug: #1638004 Change-Id: I13a4e53c403e189839d04a0376bc0db1cf0ef049
8.4 KiB
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
|
(Boolean) Turn on/off delayed delete. Typically when an image is deleted, the NOTE: When delayed delete is turned on, image scrubber MUST be running as a periodic task to prevent the backend storage from filling up with undesired usage. Possible values:
Related options:
|
|
(String) Base directory for image cache. This is the location where image data is cached and served out of.
All cached images are stored directly under this directory. This
directory also contains three subdirectories, namely,
The The Possible values:
Related options:
|
|
(String) The driver to use for image cache management. This configuration option provides the flexibility to choose between the different image-cache drivers available. An image-cache driver is responsible for providing the essential functions of image-cache like write images to/read images from cache, track age and usage of cached images, provide a list of cached images, fetch size of the cache, queue images for caching and clean up the cache, etc. The essential functions of a driver are defined in the base class
Possible values:
Related options:
|
|
(Integer) The upper limit on cache size, in bytes, after which the cache-pruner cleans up the image cache. NOTE: This is just a threshold for cache-pruner to act upon. It is NOT a hard limit beyond which the image cache would never grow. In fact, depending on how often the cache-pruner runs and how quickly the cache fills, the image cache can far exceed the size specified here very easily. Hence, care must be taken to appropriately schedule the cache-pruner and in setting this limit. Glance caches an image when it is downloaded. Consequently, the size of the image cache grows over time as the number of downloads increases. To keep the cache size from becoming unmanageable, it is recommended to run the cache-pruner as a periodic task. When the cache pruner is kicked off, it compares the current size of image cache and triggers a cleanup if the image cache grew beyond the size specified here. After the cleanup, the size of cache is less than or equal to size specified here. Possible values:
Related options:
|
|
(String) The relative path to sqlite file database that will be used for image cache management. This is a relative path to the sqlite file database that tracks the
age and usage statistics of image cache. The path is relative to image
cache base directory, specified by the configuration option
This is a lightweight database with just one table. Possible values:
Related options:
|
|
(Integer) The amount of time, in seconds, an incomplete image remains in the cache. Incomplete images are images for which download is in progress.
Please see the description of configuration option
It is recommended to run cache-cleaner as a periodic task on the Glance API nodes to keep the incomplete images from occupying disk space. Possible values:
Related options:
|
|
(Integer) The size of thread pool to be used for scrubbing images. When there are a large number of images to scrub, it is beneficial to scrub images in parallel so that the scrub queue stays in control and the backend storage is reclaimed in a timely fashion. This configuration option denotes the maximum number of images to be scrubbed in parallel. The default value is one, which signifies serial scrubbing. Any value above one indicates parallel scrubbing. Possible values:
Related options:
|
|
(Integer) The amount of time, in seconds, to delay image scrubbing. When delayed delete is turned on, an image is put into
It is important to realize that this has storage implications. The
larger the Possible values:
Related options:
|