ceph-mds: delete duplicate tasks which cause multimds container deployments to fail.

This update will resolve error['cephfs' is undefined.] in multimds container deployments.
See: roles/ceph-mon/tasks/create_mds_filesystems.yml. The same last two tasks are present there, and actully need to happen in that role since "{{ cephfs }}" gets defined in
roles/ceph-mon/defaults/main.yml, and not roles/ceph-mds/defaults/main.yml.

Signed-off-by: Randy J. Martinez <ramartin@redhat.com>
pull/2475/merge
Randy J. Martinez 2018-03-28 19:15:19 -05:00 committed by Sébastien Han
parent 3fcf966803
commit ca572a11f1
1 changed files with 0 additions and 13 deletions

View File

@ -68,16 +68,3 @@
retries: 5
delay: 15
until: multi_mds_socket.rc == 0
- name: enable multimds if requested when mon is containerized
command: "{{ docker_exec_cmd }} ceph --cluster {{ cluster }} fs set {{ cephfs }} allow_multimds true --yes-i-really-mean-it"
changed_when: false
when:
- mds_allow_multimds
- name: set max_mds when mon is containerized
command: "{{ docker_exec_cmd }} ceph --cluster {{ cluster }} fs set {{ cephfs }} max_mds {{ mds_max_mds }}"
changed_when: false
when:
- mds_allow_multimds
- mds_max_mds > 1