Skip to content

Commit ac6039b

Browse files
bsanjeewamarkgoddard
authored andcommitted
Fixes solum_api Listening on 127.0.0.1
The default kolla-ansible deployment of solum_api do not provide a value for 'host' variable in [api] section of the solum.conf This causes the solum_api service to fallback to default host 127.0.0.1, making haproxy unable to provide services. This fix adds value for 'host' variable, so the solum_api service able to listen on provided ip, making it available to services like haproxy accessing the service remotely Closes-Bug: 1909986 Change-Id: I38a4ecab071306143952c8036830318c476797f2 (cherry picked from commit e9f4a5a)
1 parent 174cd7b commit ac6039b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ansible/roles/solum/templates/solum.conf.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ bind_port = {{ solum_application_deployment_port }}
1212
image_format = vm
1313
port = {{ solum_application_deployment_port }}
1414
workers = {{ openstack_service_workers }}
15+
{% if service_name == 'solum-api' %}
16+
host = {{ api_interface_address }}
17+
{% endif %}
1518

1619
[conductor]
1720
topic = solum-conductor

0 commit comments

Comments
 (0)