Comment 5 for bug 1764731

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/queens)

Reviewed: https://review.openstack.org/562137
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=93e7e4ad79b4dfc04f8233a2e36e4f21172b10ce
Submitter: Zuul
Branch: stable/queens

commit 93e7e4ad79b4dfc04f8233a2e36e4f21172b10ce
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)