4d41027d21
Glance caching updates to support keystone service tenants: * Update glance-cache-manage so that it supports the same style OS_ environment variables and CLI options for auth that bin/glance does. * Updates registry/client so that it supports Keystone KSL style service tenants. As services no longer use admin_tokens this is a requirement to be able to use caching w/ KSL. Fixes LP Bug #949486. Change-Id: I8d0e56a9ec0d20ef56ed2ce8b860d987ae159e01
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
[DEFAULT]
|
|
# Show more verbose log output (sets INFO log level output)
|
|
verbose = True
|
|
|
|
# Show debugging output in logs (sets DEBUG log level output)
|
|
debug = False
|
|
|
|
log_file = /var/log/glance/image-cache.log
|
|
|
|
# Send logs to syslog (/dev/log) instead of to file specified by `log_file`
|
|
use_syslog = False
|
|
|
|
# Directory that the Image Cache writes data to
|
|
image_cache_dir = /var/lib/glance/image-cache/
|
|
|
|
# Number of seconds after which we should consider an incomplete image to be
|
|
# stalled and eligible for reaping
|
|
image_cache_stall_time = 86400
|
|
|
|
# image_cache_invalid_entry_grace_period - seconds
|
|
#
|
|
# If an exception is raised as we're writing to the cache, the cache-entry is
|
|
# deemed invalid and moved to <image_cache_datadir>/invalid so that it can be
|
|
# inspected for debugging purposes.
|
|
#
|
|
# This is number of seconds to leave these invalid images around before they
|
|
# are elibible to be reaped.
|
|
image_cache_invalid_entry_grace_period = 3600
|
|
|
|
# Max cache size in bytes
|
|
image_cache_max_size = 10737418240
|
|
|
|
# Address to find the registry server
|
|
registry_host = 0.0.0.0
|
|
|
|
# Port the registry server is listening on
|
|
registry_port = 9191
|
|
|
|
# Auth settings if using Keystone
|
|
# auth_url = http://127.0.0.1:5000/v2.0/
|
|
# admin_tenant_name = %SERVICE_TENANT_NAME%
|
|
# admin_user = %SERVICE_USER%
|
|
# admin_password = %SERVICE_PASSWORD%
|