Reviewed: https://review.openstack.org/570574 Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=7d35e0772342685df7c35b6fcf0777f265b6281a Submitter: Zuul Branch: stable/pike
commit 7d35e0772342685df7c35b6fcf0777f265b6281a Author: Sergii Golovatiuk <email address hidden> Date: Tue Apr 17 12:25:59 2018 +0200
Merge default_listen with swift_proxy_server_listen_options
Currently haproxy for swift doesn't have default setting. This generates config such as
listen swift_proxy_server bind 10.0.0.5:13808 transparent ssl crt /etc/pki/tls/private/overcloud_endpoint.pem bind 172.16.1.4:8080 transparent option httpchk GET /healthcheck timeout client 2m timeout server 2m server overcloud-controller-0.storage.localdomain 172.16.1.10:8080 check fall 5 inter 2000 rise 2
without
http-request set-header X-Forwarded-Proto https if { ssl_fc } http-request set-header X-Forwarded-Proto http if !{ ssl_fc } option httplog
This makes really hard to debug in case of issues.
This patch merges default_listen_options with swift to have config which is more reliable for debugging
Closes-Bug: #1764731 Change-Id: I6716499b4a10f3ba39db33d6468c261c58ee373d (cherry picked from commit c5131729e762535e8ec778432e84d82238168388) (cherry picked from commit 93e7e4ad79b4dfc04f8233a2e36e4f21172b10ce)
Reviewed: https:/ /review. openstack. org/570574 /git.openstack. org/cgit/ openstack/ puppet- tripleo/ commit/ ?id=7d35e077234 2685df7c35b6fcf 0777f265b6281a
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 7d35e0772342685 df7c35b6fcf0777 f265b6281a
Author: Sergii Golovatiuk <email address hidden>
Date: Tue Apr 17 12:25:59 2018 +0200
Merge default_listen with swift_proxy_ server_ listen_ options
Currently haproxy for swift doesn't have default setting. This generates config
such as
listen swift_proxy_server tls/private/ overcloud_ endpoint. pem controller- 0.storage. localdomain 172.16.1.10:8080 check fall 5 inter 2000 rise 2
bind 10.0.0.5:13808 transparent ssl crt /etc/pki/
bind 172.16.1.4:8080 transparent
option httpchk GET /healthcheck
timeout client 2m
timeout server 2m
server overcloud-
without
http-request set-header X-Forwarded-Proto https if { ssl_fc }
http-request set-header X-Forwarded-Proto http if !{ ssl_fc }
option httplog
This makes really hard to debug in case of issues.
This patch merges default_ listen_ options with swift to have config which is
more reliable for debugging
Closes-Bug: #1764731 ba39db33d6468c2 61c58ee373d e8ec778432e84d8 2238168388) 04f8233a2e36e4f 21172b10ce)
Change-Id: I6716499b4a10f3
(cherry picked from commit c5131729e762535
(cherry picked from commit 93e7e4ad79b4dfc