standalone haproxy deployments require the
`net.ipv4.ip_nonlocal_bind` sysctl setting
Fixes: https://tracker.ceph.com/issues/57563
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit
60471b2cd265036b7d7d0f4c8a283a9d16e6fe2a)
@staticmethod
def get_sysctl_settings() -> List[str]:
return [
- '# IP forwarding',
+ '# IP forwarding and non-local bind',
'net.ipv4.ip_forward = 1',
+ 'net.ipv4.ip_nonlocal_bind = 1',
]
##################################