Add worker_self_reference_url to glance configuration

This is a new requirement for glance in 2024.1

Change-Id: I6b696d4ccba91bcf84d92f29de49f3c6def784ac
This commit is contained in:
Jonathan Rosser 2024-03-26 16:12:18 +00:00 committed by Dmitriy Rabotyagov
parent e8de2a5f0b
commit bf25a670ff
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ http_keepalive = {{ glance_http_keepalive }}
digest_algorithm = {{ glance_digest_algorithm }}
backlog = 4096
workers = {{ glance_api_workers | default(glance_api_threads) }}
worker_self_reference_url = {{ (glance_backend_ssl | ternary('https', 'http')) ~ '://' ~ glance_api_bind_address ~ ':' ~ glance_api_service_port }}
enable_v2_api = {{ glance_enable_v2_api | bool }}

View File

@ -13,3 +13,4 @@ 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 }}