From eba4eaa40b519984cf5a6fdac8e7bbae1a787873 Mon Sep 17 00:00:00 2001 From: "Randy J. Martinez" Date: Wed, 28 Mar 2018 19:15:19 -0500 Subject: [PATCH] ceph-mds: delete duplicate tasks which cause multimds container deployments to fail. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit ca572a11f1eb7ded5583c8d8b810a42db61cd98f) Signed-off-by: Sébastien Han --- roles/ceph-mds/tasks/containerized.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/roles/ceph-mds/tasks/containerized.yml b/roles/ceph-mds/tasks/containerized.yml index 207ed69ef..ee903833e 100644 --- a/roles/ceph-mds/tasks/containerized.yml +++ b/roles/ceph-mds/tasks/containerized.yml @@ -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 -- 2.47.3