openstack-ansible-os_glance/templates/glance-cache.conf.j2
Jonathan Rosser bf25a670ff Add worker_self_reference_url to glance configuration
This is a new requirement for glance in 2024.1

Change-Id: I6b696d4ccba91bcf84d92f29de49f3c6def784ac
2024-03-26 19:59:44 +00:00

17 lines
695 B
Django/Jinja

# {{ ansible_managed }}
[DEFAULT]
# Disable stderr logging
use_stderr = False
debug = {{ debug }}
use_journal = True
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 = {{ 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/
worker_self_reference_url = {{ (glance_backend_ssl | ternary('https', 'http')) ~ '://' ~ glance_api_bind_address ~ ':' ~ glance_api_service_port }}