Make image_cache_max_size user configurable
image_cache_max_size should be less than the size of the container. It defaults to 10GiB which is greater than the current default container size for glance of 5GB. Change-Id: I58ad98ba3cf83a63dbe346659148aba53dafd140 Related-Bug: 1403487
This commit is contained in:
parent
ec3a14f235
commit
362e727dab
@ -69,7 +69,8 @@ glance_swift_store_region: SomeRegion
|
||||
# `publicURL` to communicate with swift over the public network
|
||||
glance_swift_store_endpoint_type: internalURL
|
||||
glance_notification_driver: noop
|
||||
|
||||
# Set glance cache size in bytes, should be less than container size. Defaults to 10GiB
|
||||
#glance_image_cache_max_size: 4294967296
|
||||
|
||||
## Heat Options
|
||||
heat_stack_domain_admin_password:
|
||||
|
@ -7,7 +7,7 @@ admin_tenant_name = service
|
||||
use_syslog = False
|
||||
image_cache_dir = /var/lib/glance/cache/
|
||||
image_cache_stall_time = 86400
|
||||
image_cache_max_size = 10737418240
|
||||
image_cache_max_size = {{ glance_image_cache_max_size|default(10737418240) }}
|
||||
registry_host = {{ registry_host }}
|
||||
registry_port = 9191
|
||||
auth_url = {{ auth_admin_uri }}
|
||||
|
Loading…
Reference in New Issue
Block a user