mds: allow multi mds when ceph is >= jewel

Otherwise, the task to set max_mds will fail.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/4820/head
Guillaume Abrioux 2019-10-21 10:12:42 +02:00
parent 9d97420b02
commit fdeda6f03f
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
changed_when: false
delegate_to: "{{ groups[mon_group_name][0] }}"
when:
- ceph_release_num[ceph_release] == ceph_release_num.luminous
- ceph_release_num[ceph_release] >= ceph_release_num.jewel
- 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 }}"