Skip to content

Commit

Permalink
mds: don't enable application pool on cephfs pools
Browse files Browse the repository at this point in the history
this commit removes the task which enable application on cephfs pools.

See: https://tracker.ceph.com/issues/43761

Fixes: #5278

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 86dc6f8)
  • Loading branch information
guits authored and dsavineau committed Jun 3, 2020
1 parent 66bdd58 commit c2335b5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions group_vars/all.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ dummy:
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "cephfs"
# size: "{{ osd_pool_default_size }}"
# min_size: "{{ osd_pool_default_min_size }}"
# pg_autoscale_mode: False
Expand All @@ -352,7 +351,6 @@ dummy:
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "cephfs"
# size: "{{ osd_pool_default_size }}"
# min_size: "{{ osd_pool_default_min_size }}"
# pg_autoscale_mode: False
Expand All @@ -364,7 +362,6 @@ dummy:
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "cephfs"
# size: "{{ osd_pool_default_size }}"
# min_size: "{{ osd_pool_default_min_size }}"
# pg_autoscale_mode: False
Expand Down
3 changes: 0 additions & 3 deletions group_vars/rhcs.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ ceph_iscsi_config_dev: false
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "cephfs"
# size: "{{ osd_pool_default_size }}"
# min_size: "{{ osd_pool_default_min_size }}"
# pg_autoscale_mode: False
Expand All @@ -352,7 +351,6 @@ ceph_iscsi_config_dev: false
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "cephfs"
# size: "{{ osd_pool_default_size }}"
# min_size: "{{ osd_pool_default_min_size }}"
# pg_autoscale_mode: False
Expand All @@ -364,7 +362,6 @@ ceph_iscsi_config_dev: false
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "cephfs"
# size: "{{ osd_pool_default_size }}"
# min_size: "{{ osd_pool_default_min_size }}"
# pg_autoscale_mode: False
Expand Down
3 changes: 0 additions & 3 deletions roles/ceph-defaults/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ mon_host_v2:
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "cephfs"
# size: "{{ osd_pool_default_size }}"
# min_size: "{{ osd_pool_default_min_size }}"
# pg_autoscale_mode: False
Expand All @@ -344,7 +343,6 @@ cephfs_data_pool:
type: 1
erasure_profile: ""
expected_num_objects: ""
application: "cephfs"
size: "{{ osd_pool_default_size }}"
min_size: "{{ osd_pool_default_min_size }}"
pg_autoscale_mode: False
Expand All @@ -356,7 +354,6 @@ cephfs_metadata_pool:
type: 1
erasure_profile: ""
expected_num_objects: ""
application: "cephfs"
size: "{{ osd_pool_default_size }}"
min_size: "{{ osd_pool_default_min_size }}"
pg_autoscale_mode: False
Expand Down
6 changes: 0 additions & 6 deletions roles/ceph-mds/tasks/create_mds_filesystems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@
- item.type | default(1) | int != 3
- item.type | default('replicated') != 'erasure'

- name: assign application to cephfs pools
command: "{{ ceph_run_cmd }} --cluster {{ cluster }} osd pool application enable {{ item.name }} {{ item.application }}"
with_items:
- "{{ cephfs_data_pool }}"
- "{{ cephfs_metadata_pool }}"
changed_when: false

- name: check and create ceph filesystem
delegate_to: "{{ groups[mon_group_name][0] }}"
Expand Down

0 comments on commit c2335b5

Please sign in to comment.