Thank you for the information. What are the chances that a new version will be released soon with that fix? This bug breaks my production configuration (but luckily not my actual production environment, it is still on 2.2.25). This bug is also preventing me from testing my Disaster Recovery solution (automated testing). I don’t have a reasonable way, nor do I desire, to custom compile haproxy. Also the ppa:vbernat/haproxy-2.2 doesn’t have the 2.2.25 version only the latest 2.2.26 so I cannot pull that version instead.
Jason Grammenos | Operations & Infrastructure Analyst Pronouns: he/him P: 613.232.7797 x1131 Toll-free: 866.545.3745 x1131 jason.gramme...@agilitypr.com agilitypr.com Learn new PR tips from our free resources. -----Original Message----- From: Aurelien DARRAGON <adarra...@haproxy.com> Sent: January 12, 2023 3:36 AM To: Jason Grammenos <jason.gramme...@agilitypr.com>; haproxy@formilux.org Subject: Re: Haproxy (2.2.26) Wont Start - cannot find default_backend Hi, > I am having trouble with Haproxy using a configuration was previously > worked and am getting a very odd to me error > > > > Jan 11 13:58:00 ca04vlhaproxy01 haproxy[16077]: [ALERT] 010/135800 > (16077) : Proxy 'graylog_back': unable to find required default_backend: > '#002'. You might want to manually update your haproxy from the tip of 2.2 branch while waiting for a new version: A regression only affecting 2.2.26 was recently discovered (see below), and the fix is available on top of 2.2.26 (https://git.haproxy.org/?p=haproxy-2.2.git;a=commit;h=a7d662bda95c33131126b2ad45bbb073d93b85d3) Regards, Aurelien > On 05/01/2023 14:44, Christopher Faulet wrote: >> Le 1/5/23 à 13:20, Julien Thomas a écrit : >>> Hello, >>> >>> I have an issue with haproxy 2.2.26 that I do not have in 2.2.25, it >>> seams to be related to the ring object I use in my configuration for >>> logs. >>> >>> I do not think it is due to my build >>> (https://github.com/zenetys/rpm-haproxy/commits/haproxy22z) because >>> we did not change it in that branch. >>> >>> I get "unable to find required use_backend: ''" errors. >>> >>> [root@zelk-prod-01 haproxy]# haproxy -f >>> /etc/haproxy/haproxy-extract.cfg -c [NOTICE] 004/130824 (2015177) : >>> haproxy version is 2.2.26-97059ba [NOTICE] 004/130824 (2015177) : >>> path to executable is /usr/sbin/haproxy [ALERT] 004/130824 (2015177) >>> : Proxy 'ft_rsyslog_514': unable to find required use_backend: ''. >>> [ALERT] 004/130824 (2015177) : Fatal errors found in configuration. >>> >> >> Thanks for the report! Indeed, there is a bug, specific to the >> 2.2.26. A regression was introduced when the commit 7af321580 ("BUG/MEDIUM: >> sink: >> bad init sequence on tcp sink from a ring.") was backported. >> >> I pushed a fix. > > Thank you Christopher, it's working like a charm with your patch 😉 > > Julien >