ceph-mds: do not enable multimds on jewel

Multiple active MDS became stable in Luminous.

Introduced-by: c8573fe0d7
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 9ce81ae845)
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/2772/head
Patrick Donnelly 2018-06-04 12:52:47 -07:00 committed by Sébastien Han
parent 35af792fa1
commit 2bcc1c71c0
1 changed files with 1 additions and 2 deletions

View File

@ -25,8 +25,7 @@
changed_when: false
delegate_to: "{{ groups[mon_group_name][0] }}"
when:
- ceph_release_num[ceph_release] >= ceph_release_num.jewel
- ceph_release_num[ceph_release] < ceph_release_num.mimic
- ceph_release_num[ceph_release] == ceph_release_num.luminous
- name: set max_mds
command: "{{ hostvars[groups[mon_group_name][0]]['docker_exec_cmd'] | default('') }} ceph --cluster {{ cluster }} fs set {{ cephfs }} max_mds {{ mds_max_mds }}"