]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cli/mworker: can't start haproxy with 2 programs
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 14 Jan 2020 14:25:02 +0000 (15:25 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 14 Jan 2020 14:42:38 +0000 (15:42 +0100)
commita31b09e982a76cdf8761edb25d1569cb76a8ff37
treecf96bed0593a2daf46352d415b29de7f90182f3c
parentc7ce4e3e7fb2d7f9f037b4df318df7d6e23e8f7a
BUG/MINOR: cli/mworker: can't start haproxy with 2 programs

When trying to start HAProxy with the master CLI and more than one
program in the configuration, it refuses to start with:

[ALERT] 013/132926 (1378) : parsing [cur--1:0] : proxy 'MASTER', another server named 'cur--1' was already defined at line 0, please use distinct names.
[ALERT] 013/132926 (1378) : Fatal errors found in configuration.

The problem is that haproxy tries to create a server for the MASTER
proxy but only the worker are supposed to be in the server list.

Fix issue #446.

Must be backported as far as 2.0.
src/cli.c