Actions
Bug #57563
closedhaproxy requires the `net.ipv4.ip_nonlocal_bind` sysctl setting
% Done:
0%
Source:
Tags:
backport_processed
Backport:
quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
haproxy requires the `net.ipv4.ip_nonlocal_bind` sysctl setting otherwise it cannot bind to the configured ingress VIP:
Sep 14 16:17:27 host3 systemd[1]: Started Ceph haproxy.nfs.ha.host3.lrxbea for a2e6fbda-e4eb-4558-8c3c-f5bc91dea147. Sep 14 16:17:27 host3 conmon[29241]: [NOTICE] 256/221727 (7) : haproxy version is 2.3.17-d1c9119 Sep 14 16:17:27 host3 conmon[29241]: [NOTICE] 256/221727 (7) : path to executable is /usr/local/sbin/haproxy Sep 14 16:17:27 host3 conmon[29241]: [ALERT] 256/221727 (7) : Starting frontend stats: cannot bind socket (Cannot assign requested address) [192.168.20.77:9049] Sep 14 16:17:27 host3 conmon[29241]: [ALERT] 256/221727 (7) : Starting frontend frontend: cannot bind socket (Cannot assign requested address) [192.168.20.77:2049] Sep 14 16:17:27 host3 conmon[29241]: [ALERT] 256/221727 (7) : [haproxy.main()] Some protocols failed to start their listeners! Exiting.
This happens to work in most instances where typically both haproxy and keepalived are colocated and this setting is set by the keepalived deployment.
Updated by Michael Fritch over 1 year ago
- Status changed from New to Fix Under Review
- Pull request ID set to 48120
Updated by Adam King over 1 year ago
- Status changed from Fix Under Review to Pending Backport
- Backport set to quincy, pacific
Updated by Backport Bot over 1 year ago
- Copied to Backport #57644: pacific: haproxy requires the `net.ipv4.ip_nonlocal_bind` sysctl setting added
Updated by Backport Bot over 1 year ago
- Copied to Backport #57645: quincy: haproxy requires the `net.ipv4.ip_nonlocal_bind` sysctl setting added
Updated by Voja Molani over 1 year ago
Unfortunately this fix seems to have missed the same change needed for IPv6.
Updated by Adam King about 1 year ago
- Status changed from Pending Backport to Resolved
Actions