HAProxy rules for Horizon emit warnings when using "split" HAProxy config template
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Radosław Piliszek | ||
Train |
Fix Released
|
Medium
|
Mark Goddard | ||
Ussuri |
Fix Released
|
Medium
|
Radosław Piliszek |
Bug Description
**Bug Report**
What happened:
When using the "haproxy_
[WARNING] 103/153158 (35) : parsing [/etc/haproxy/
[WARNING] 103/153158 (35) : parsing [/etc/haproxy/
What you expected to happen:
No warnings are emitted by HAProxy.
How to reproduce it (minimal and precise):
Set these vars:
enable_horizon: yes
enable_haproxy: yes
haproxy_
Then deploy/reconfigure HAProxy.
**Environment**:
* OS (e.g. from /etc/os-release): CentOS 7
* Kernel (e.g. `uname -a`): Linux 3.10.0-
* Docker version if applicable (e.g. `docker version`): 19.03.3
* Kolla-Ansible version (e.g. `git head or tag or stable branch` or pip package version if using release): stable/train
* Docker image Install type (source/binary): source
* Docker image distribution: centos
* Are you using official images from Docker Hub or self built? self-built (Kolla stable/train)
Changed in kolla-ansible: | |
assignee: | nobody → Jason Anderson (jasonandersonatuchicago) |
status: | New → In Progress |
Changed in kolla-ansible: | |
importance: | Undecided → Medium |
Changed in kolla-ansible: | |
assignee: | Jason Anderson (jasonandersonatuchicago) → Radosław Piliszek (yoctozepto) |
Reviewed: https:/ /review. opendev. org/719677 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=5c760df3d5f 1886290b8dd86eb 515acc06e66c9a
Committed: https:/
Submitter: Zuul
Branch: master
commit 5c760df3d5f1886 290b8dd86eb515a cc06e66c9a
Author: Jason Anderson <email address hidden>
Date: Mon Apr 13 15:06:00 2020 -0500
[horizon] Move 'balance' HAProxy keyword
The "balance" keyword is not valid in a frontend section. From the
HAProxy documentation[1]:
balance <algorithm> [ <arguments> ]
yes | no | yes | yes
balance url_param <param> [check_post [<max_wait>]]
Define the load balancing algorithm to be used in a backend.
May be used in sections : defaults | frontend | listen | backend
When running HAProxy using the "split" template style, where a backend pair are used instead of one listen section, HAProxy
frontend/
will emit warnings for the Horizon config due to this.
[1]: https:/ /www.haproxy. org/download/ 1.5/doc/ configuration. txt
Closes-Bug: #1872540 944298618493f4e a0cd80282cc
Change-Id: I91cee275d91a51