Merge pull request #1930 from ceph/filestore-osd-section

config: no not generate osd section if bluestore
pull/1934/head
Sébastien Han 2017-09-21 00:12:53 +02:00 committed by GitHub
commit c08ca5143f
5 changed files with 6 additions and 4 deletions

View File

@ -253,7 +253,6 @@ dummy:
#ceph_conf_key_directory: /etc/ceph #ceph_conf_key_directory: /etc/ceph
#cephx: true #cephx: true
#max_open_files: 131072
## Client options ## Client options
# #

View File

@ -18,6 +18,10 @@ dummy:
# distributed on RGW nodes. Setting 'copy_admin_key' to 'true' # distributed on RGW nodes. Setting 'copy_admin_key' to 'true'
# will copy the admin key to the /etc/ceph/ directory # will copy the admin key to the /etc/ceph/ directory
#copy_admin_key: false #copy_admin_key: false
# whether docker container or systemd service should be enabled
# and started, it's useful to set it to false if nfs-ganesha
# service is managed by pacemaker
#ceph_nfs_enable_service: true
####################### #######################
# Access type options # # Access type options #

View File

@ -253,7 +253,6 @@ ceph_repository: rhcs
#ceph_conf_key_directory: /etc/ceph #ceph_conf_key_directory: /etc/ceph
#cephx: true #cephx: true
#max_open_files: 131072
## Client options ## Client options
# #

View File

@ -14,7 +14,6 @@ ms bind ipv6 = true
{% if not containerized_deployment_with_kv and not containerized_deployment %} {% if not containerized_deployment_with_kv and not containerized_deployment %}
fsid = {{ fsid }} fsid = {{ fsid }}
{% endif %} {% endif %}
max open files = {{ max_open_files }}
{% if common_single_host_mode is defined and common_single_host_mode %} {% if common_single_host_mode is defined and common_single_host_mode %}
osd crush chooseleaf type = 0 osd crush chooseleaf type = 0
{% endif %} {% endif %}
@ -116,6 +115,7 @@ log file = {{ rbd_client_log_file }} # must be writable by QEMU and allowed by S
{% endif %} {% endif %}
{% if inventory_hostname in groups.get(osd_group_name, []) %} {% if inventory_hostname in groups.get(osd_group_name, []) %}
{% if osd_objectstore == 'filestore' %}
[osd] [osd]
osd mkfs type = {{ osd_mkfs_type }} osd mkfs type = {{ osd_mkfs_type }}
osd mkfs options xfs = {{ osd_mkfs_options_xfs }} osd mkfs options xfs = {{ osd_mkfs_options_xfs }}
@ -128,6 +128,7 @@ filestore xattr use omap = true
{# else, default is false #} {# else, default is false #}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endif %}
{% if groups[mds_group_name] is defined %} {% if groups[mds_group_name] is defined %}
{% if mds_group_name in group_names %} {% if mds_group_name in group_names %}

View File

@ -245,7 +245,6 @@ generate_fsid: true
ceph_conf_key_directory: /etc/ceph ceph_conf_key_directory: /etc/ceph
cephx: true cephx: true
max_open_files: 131072
## Client options ## Client options
# #