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: v16.2.11~210^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F48212%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 (cherry picked from commit 60471b2cd265036b7d7d0f4c8a283a9d16e6fe2a) --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 4b3966ecb88..d6965594669 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -912,8 +912,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', ] ##################################