From: Dimitri Savineau Date: Thu, 4 Apr 2019 13:33:05 +0000 (-0400) Subject: ceph-mds: Set application pool to cephfs X-Git-Tag: v3.2.14~4 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=56215d76885989b731e5dfceec01141109689824;p=ceph-ansible.git ceph-mds: Set application pool to cephfs We don't need to use the cephfs variable for the application pool name because it's always cephfs. If the cephfs variable is set to something else than the default value it will break the appplication pool task. Resolves: #3790 Signed-off-by: Dimitri Savineau (cherry picked from commit d2efb7f02b9e6f6888449dbaeba0e2435606ca43) --- diff --git a/roles/ceph-mds/tasks/create_mds_filesystems.yml b/roles/ceph-mds/tasks/create_mds_filesystems.yml index 208aa8ae0..305b2772b 100644 --- a/roles/ceph-mds/tasks/create_mds_filesystems.yml +++ b/roles/ceph-mds/tasks/create_mds_filesystems.yml @@ -31,7 +31,7 @@ - check_existing_cephfs.rc != 0 - name: assign application to cephfs pools - command: "{{ hostvars[groups[mon_group_name][0]]['docker_exec_cmd'] | default('') }} ceph --cluster {{ cluster }} osd pool application enable {{ item }} {{ cephfs }}" + command: "{{ hostvars[groups[mon_group_name][0]]['docker_exec_cmd'] | default('') }} ceph --cluster {{ cluster }} osd pool application enable {{ item }} cephfs" with_items: - "{{ cephfs_data }}" - "{{ cephfs_metadata }}"