]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-mds: delete duplicate tasks which cause multimds container deployments to fail.
authorRandy J. Martinez <ramartin@redhat.com>
Thu, 29 Mar 2018 00:15:19 +0000 (19:15 -0500)
committerSébastien Han <seb@redhat.com>
Thu, 29 Mar 2018 07:32:40 +0000 (09:32 +0200)
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>
roles/ceph-mds/tasks/containerized.yml

index db7fe36d1eb7c3fcfcd15858a205da1fcba15dbf..f11e959e978b709d101e3f1e21367afba6ba8b92 100644 (file)
   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