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 <gabrioux@redhat.com>
(cherry picked from commit 6ca7372a2d)
pull/4021/head
Guillaume Abrioux 2019-05-21 15:48:34 +02:00 committed by Dimitri Savineau
parent 63f99fb965
commit 5982e17315
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ auth supported = none
{% endif %} {% endif %}
{% if ip_version == 'ipv6' %} {% if ip_version == 'ipv6' %}
ms bind ipv6 = true ms bind ipv6 = true
ms bind ipv4 = false
{% endif %} {% endif %}
{% if common_single_host_mode is defined and common_single_host_mode %} {% if common_single_host_mode is defined and common_single_host_mode %}
osd crush chooseleaf type = 0 osd crush chooseleaf type = 0