Ability to generate haproxy config with the frontend/backend
sections rather than the old listen section. This allows
the generation of complex configs, such as for example giving
priority to local backends when routing traffic.
Make the new syntax configurable via a new hiera key
`haproxy_backend_syntax`. The frontend and backend config of
each service can be further tweaked via additional keys
tripleo::haproxy::<service>::frontend_options and
tripleo::haproxy::<service>::backend_options
By default, keep the current 'listen' syntax.
Tested with capability disabled, the haproxy config generated
for undercloud and ha overcloud doesn't change.
Tested with capability enabled, tempest smoke test passed.
(Note: manually adapted healthcheck tests for neutron, cinder
and ironic to match stable/wallaby)
Closes-Bug: #1941617
Change-Id: Ieb36f90c6709934aa3aa6668d3929bff872c30f5
(cherry picked from commit 7a6c5281e0d75c54e298ce68b2a8b54eefc5f0f9)
(manually fixed conflicts for manifests/haproxy.pp)
Reviewed: https:/ /review. opendev. org/c/openstack /puppet- tripleo/ +/807587 /opendev. org/openstack/ puppet- tripleo/ commit/ 419606b2592a552 745b5a5c1929d2d 2f2e6eb52e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 419606b2592a552 745b5a5c1929d2d 2f2e6eb52e
Author: Damien Ciabrini <email address hidden>
Date: Fri Jul 16 14:22:39 2021 +0000
haproxy: frontend/backend syntax in config
Ability to generate haproxy config with the frontend/backend
sections rather than the old listen section. This allows
the generation of complex configs, such as for example giving
priority to local backends when routing traffic.
Make the new syntax configurable via a new hiera key backend_ syntax` . The frontend and backend config of :haproxy: :<service> ::frontend_ options and :haproxy: :<service> ::backend_ options
`haproxy_
each service can be further tweaked via additional keys
tripleo:
tripleo:
By default, keep the current 'listen' syntax.
Tested with capability disabled, the haproxy config generated
for undercloud and ha overcloud doesn't change.
Tested with capability enabled, tempest smoke test passed.
(Note: manually adapted healthcheck tests for neutron, cinder
and ironic to match stable/wallaby)
Closes-Bug: #1941617
Change-Id: Ieb36f90c670993 4aa3aa6668d3929 bff872c30f5 4e298ce68b2a8b5 4eefc5f0f9) haproxy. pp)
(cherry picked from commit 7a6c5281e0d75c5
(manually fixed conflicts for manifests/