Skip to content
Snippets Groups Projects
Commit e9f4a5a3 authored by Buddhika Sanjeewa's avatar Buddhika Sanjeewa Committed by Mark Goddard
Browse files

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
parent 074e5761
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,9 @@ bind_port = {{ solum_application_deployment_port }} ...@@ -12,6 +12,9 @@ bind_port = {{ solum_application_deployment_port }}
image_format = vm image_format = vm
port = {{ solum_application_deployment_port }} port = {{ solum_application_deployment_port }}
workers = {{ openstack_service_workers }} workers = {{ openstack_service_workers }}
{% if service_name == 'solum-api' %}
host = {{ api_interface_address }}
{% endif %}
[conductor] [conductor]
topic = solum-conductor topic = solum-conductor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment