Enable HAProxy mode http for Swift and Ceph RGW

Previously we missed to enable http mode for the Swift and Ceph
RGW listeners in HAProxy.

Change-Id: I4d7a8299d57e9c5f6effea19f0b630f4a092ff7e
This commit is contained in:
Giulio Fidente 2018-07-16 18:00:54 +02:00 committed by Alex Schultz
parent 85a302b9a1
commit d85cd3f365

View File

@ -1212,6 +1212,7 @@ class tripleo::haproxy (
service_port => $ports[swift_proxy_port],
ip_addresses => hiera('swift_proxy_node_ips', $controller_hosts_real),
server_names => hiera('swift_proxy_node_names', $controller_hosts_names_real),
mode => 'http',
listen_options => merge($default_listen_options, $swift_proxy_server_listen_options),
public_ssl_port => $ports[swift_proxy_ssl_port],
service_network => $swift_proxy_server_network,
@ -1501,6 +1502,7 @@ class tripleo::haproxy (
service_port => $ports[ceph_rgw_port],
ip_addresses => hiera('ceph_rgw_node_ips', $controller_hosts_real),
server_names => hiera('ceph_rgw_node_names', $controller_hosts_names_real),
mode => 'http',
public_ssl_port => $ports[ceph_rgw_ssl_port],
service_network => $ceph_rgw_network,
listen_options => merge($default_listen_options, { 'option' => [ 'httpchk HEAD /' ] }),