Enable glance proxying behaviour
This patch sets URL to glance worker. If this is set, other glance workers will know how to contact this one directly if needed. For image import, a single worker stages the image and other workers need to be able to proxy the import request to the right one. With current setup glance image import just not working. Closes-Bug: #2048525 Change-Id: I4246dc8a80038358cd5b6e44e991b3e2ed72be0e (cherry picked from commit 9ecfcf5a17548056eacfa9ba90fc07acb00e64b7)
This commit is contained in:
parent
51ca1bc696
commit
131296825a
@ -4,6 +4,8 @@ debug = {{ glance_logging_debug }}
|
||||
# NOTE(elemoine) log_dir alone does not work for Glance
|
||||
log_file = /var/log/kolla/glance/glance-api.log
|
||||
|
||||
worker_self_reference_url = {{ 'https' if glance_enable_tls_backend | bool else 'http' }}://{{ api_interface_address | put_address_in_context('url') }}:{{ glance_api_port }}
|
||||
|
||||
{% if glance_enable_tls_backend | bool %}
|
||||
bind_host = 127.0.0.1
|
||||
{% else %}
|
||||
|
5
releasenotes/notes/bug-2048525-53ac0711f2c8ae4b.yaml
Normal file
5
releasenotes/notes/bug-2048525-53ac0711f2c8ae4b.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes glance image import
|
||||
`LP#2048525 <https://bugs.launchpad.net/kolla-ansible/+bug/2048525>`__.
|
Loading…
x
Reference in New Issue
Block a user