allow_multimds will be officially deprecated in Mimic, specify it
only for all versions of Ceph where it was declared stable. Going
forward, specify only max_mds.
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
## MDS options
#
#mds_use_fqdn: false # if set to true, the MDS name used will be the fqdn in the ceph.conf
-#mds_allow_multimds: false
#mds_max_mds: 3
## Rados Gateway options
## MDS options
#
#mds_use_fqdn: false # if set to true, the MDS name used will be the fqdn in the ceph.conf
-#mds_allow_multimds: false
#mds_max_mds: 3
## Rados Gateway options
## MDS options
#
mds_use_fqdn: false # if set to true, the MDS name used will be the fqdn in the ceph.conf
-mds_allow_multimds: false
mds_max_mds: 3
## Rados Gateway options
changed_when: false
when:
- ceph_release_num[ceph_release] >= ceph_release_num.jewel
- - mds_allow_multimds
+ - ceph_release_num[ceph_release] < ceph_release_num.mimic
- name: set max_mds
command: "{{ docker_exec_cmd }} ceph --cluster {{ cluster }} fs set {{ cephfs }} max_mds {{ mds_max_mds }}"
changed_when: false
when:
- ceph_release_num[ceph_release] >= ceph_release_num.jewel
- - mds_allow_multimds
- mds_max_mds > 1