From: Michael Fritch Date: Thu, 15 Sep 2022 04:22:04 +0000 (-0600) Subject: cephadm: add `ip_nonlocal_bind` to haproxy deployment X-Git-Tag: v18.1.0~1133^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F48120%2Fhead;p=ceph.git cephadm: add `ip_nonlocal_bind` to haproxy deployment standalone haproxy deployments require the `net.ipv4.ip_nonlocal_bind` sysctl setting Fixes: https://tracker.ceph.com/issues/57563 Signed-off-by: Michael Fritch --- diff --git a/src/cephadm/cephadm.py b/src/cephadm/cephadm.py index 25c18553ab17..d806b9d3765a 100755 --- a/src/cephadm/cephadm.py +++ b/src/cephadm/cephadm.py @@ -1016,8 +1016,9 @@ class HAproxy(object): @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', ] ##################################