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.
Reviewed: https:/ /review. opendev. org/c/openstack /puppet- tripleo/ +/801075 /opendev. org/openstack/ puppet- tripleo/ commit/ 7a6c5281e0d75c5 4e298ce68b2a8b5 4eefc5f0f9
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 7a6c5281e0d75c5 4e298ce68b2a8b5 4eefc5f0f9
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.
Closes-Bug: #1941617
Change-Id: Ieb36f90c670993 4aa3aa6668d3929 bff872c30f5