]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-mds: Set application pool to cephfs
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 4 Apr 2019 13:33:05 +0000 (09:33 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 11 Apr 2019 15:47:21 +0000 (17:47 +0200)
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 <dsavinea@redhat.com>
(cherry picked from commit d2efb7f02b9e6f6888449dbaeba0e2435606ca43)

roles/ceph-mds/tasks/create_mds_filesystems.yml

index 6ad3c02afd2340a9126aa7a0e7329c758da17a40..f9a6e5a745ac456f3c947ac247cdb0682300b572 100644 (file)
@@ -54,7 +54,7 @@
     - check_existing_cephfs.rc != 0
 
 - name: assign application to cephfs pools
-  command: "{{ docker_exec_cmd | default('') }} ceph --cluster {{ cluster }} osd pool application enable {{ item }} {{ cephfs }}"
+  command: "{{ docker_exec_cmd | default('') }} ceph --cluster {{ cluster }} osd pool application enable {{ item }} cephfs"
   with_items:
     - "{{ cephfs_data }}"
     - "{{ cephfs_metadata }}"