From 5982e17315b4023cacd44f8a1c1b6ecb3225589f Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 21 May 2019 15:48:34 +0200 Subject: [PATCH] config: fix ipv6 As of nautilus, if you set `ms bind ipv6 = True` you must explicitly set `ms bind ipv4 = False` too, otherwise OSDs will still try to pick up an IPv4 address. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1710319 Signed-off-by: Guillaume Abrioux (cherry picked from commit 6ca7372a2df1cb1ad7ef56b121ebfc94afc24ec7) --- roles/ceph-config/templates/ceph.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-config/templates/ceph.conf.j2 b/roles/ceph-config/templates/ceph.conf.j2 index f01fc108e..52c3e9a6b 100644 --- a/roles/ceph-config/templates/ceph.conf.j2 +++ b/roles/ceph-config/templates/ceph.conf.j2 @@ -10,6 +10,7 @@ auth supported = none {% endif %} {% if ip_version == 'ipv6' %} ms bind ipv6 = true +ms bind ipv4 = false {% endif %} {% if common_single_host_mode is defined and common_single_host_mode %} osd crush chooseleaf type = 0 -- 2.39.5