]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
config: fix ipv6
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 21 May 2019 13:48:34 +0000 (15:48 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Tue, 21 May 2019 14:38:00 +0000 (10:38 -0400)
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>
roles/ceph-config/templates/ceph.conf.j2

index f01fc108e1f525f1f41429c435ebe2bc4f8a6cc0..52c3e9a6b81ef6f3665af2e8b84d73a92ee618bf 100644 (file)
@@ -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