HAProxy proxy_protocol_networks setting not working after v1.9.0

Description

When we are using 1.9.0 HAProxy with proxy_protocol_networks. The readiness/liveness probe failed.

Current solution is to just downgrade to 1.8.0 HAProxy, and it will work as intended

 

It seems to be introduced from this ticket:

https://jira.percona.com/browse/K8SPXC-421

The issue is the admin port got overwritten by the X protocol port, causing the liveness/readiness probe to fail

https://github.com/percona/percona-docker/blob/pxc-operator-1.9.0/haproxy/dockerdir/usr/bin/add_pxc_nodes.sh#L58

Environment

None

Smart Checklist

Activity

Show:

Slava Sarzhan November 11, 2021 at 10:55 AM

Hi,

The issue was fixed for PXCO 1.10.0 which will be released in one or two weeks.

Mykola Marzhan November 10, 2021 at 3:57 PM

thank you ,
bug is confirmed, we are working on the fix

Done

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Smart Checklist

Created November 10, 2021 at 3:48 PM
Updated March 5, 2024 at 5:43 PM
Resolved November 24, 2021 at 4:24 PM