Avoid using hostname in haproxy conf

haproxy default build option not happy with hostname when IPv6 is
configured. Avoid using hostname for now.

Story: 2002987
Task: 23001

Change-Id: Ia3508a8124766a4d8bac97a68a0e38481593f96d
Signed-off-by: Bin Qian <bin.qian@windriver.com>
This commit is contained in:
Bin Qian 2018-07-05 09:35:04 -04:00
parent 8100a90b5c
commit fff0cb9750
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
#
[DEFAULT]
sm_api_port=<%= @port %>
sm_api_bind_ip=<%= @bind_host_name %>
sm_api_bind_ip=<%= @bind_ip %>
api_public_url=<%= @public_url %>
api_admin_url=<%= @admin_url %>

View File

@ -56,7 +56,7 @@ class SmPuppet(openstack.OpenstackBasePuppet):
def get_host_config(self, host):
config = {
'platform::smapi::params::bind_ip': host.hostname,
'platform::smapi::params::bind_ip': host.mgmt_ip,
}
return config