Merge "Add glance cache variables into glance-api"
This commit is contained in:
commit
ff21bac342
@ -177,6 +177,7 @@ glance_keystone_auth_plugin: password
|
||||
|
||||
## Glance config
|
||||
glance_image_cache_max_size: 10737418240
|
||||
glance_image_cache_stall_time: 86400
|
||||
|
||||
# CORS options
|
||||
glance_cors_allowed_origin: "{{ (glance_show_multiple_locations | bool) | ternary(openstack_service_publicuri_proto | default('http') + '://' + external_lb_vip_address, None) }}"
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Added variable ``glance_image_cache_stall_time`` to control glance cache
|
||||
time if needed. Defaults to ``86400``.
|
@ -21,7 +21,10 @@ transport_url = {{ glance_oslomsg_rpc_transport }}://{% for host in glance_oslom
|
||||
|
||||
delayed_delete = False
|
||||
scrub_time = 43200
|
||||
|
||||
image_cache_dir = {{ glance_system_user_home }}/cache/
|
||||
image_cache_stall_time = {{ glance_image_cache_stall_time }}
|
||||
image_cache_max_size = {{ glance_image_cache_max_size }}
|
||||
|
||||
# defaults to true if RBD is used as default store
|
||||
show_image_direct_url = {{ glance_show_image_direct_url }}
|
||||
|
@ -9,7 +9,7 @@ admin_password = {{ glance_service_password }}
|
||||
admin_user = {{ glance_service_user_name }}
|
||||
admin_tenant_name = {{ glance_service_project_name }}
|
||||
image_cache_dir = {{ glance_system_user_home }}/cache/
|
||||
image_cache_stall_time = 86400
|
||||
image_cache_stall_time = {{ glance_image_cache_stall_time }}
|
||||
image_cache_max_size = {{ glance_image_cache_max_size }}
|
||||
auth_url = {{ keystone_service_internalurl }}
|
||||
filesystem_store_datadir = {{ glance_system_user_home }}/images/
|
||||
|
Loading…
x
Reference in New Issue
Block a user