]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fix some missing option declaration 112/head
authorSébastien Han <sebastien.han@enovance.com>
Sat, 30 Aug 2014 00:58:27 +0000 (02:58 +0200)
committerSébastien Han <sebastien.han@enovance.com>
Sat, 30 Aug 2014 00:58:27 +0000 (02:58 +0200)
Missing decleration and cosmetic.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
roles/ceph-common/defaults/main.yml
roles/ceph-common/templates/ceph.conf.j2

index 6fe4636ca08e56910da595e0740cb05e437ec47c..2c9d4552d752574d8f53bfb9453bc7f3086822e5 100644 (file)
@@ -36,12 +36,16 @@ journal_size: 100
 pool_default_pg_num: 128
 pool_default_pgp_num: 128
 pool_default_size: 2
+pool_default_min_size: 1
 cluster_network: 192.168.0.0/24
 public_network: 192.168.0.0/24
 osd_mkfs_type: xfs
 osd_mkfs_options_xfs: -f -i size=2048
 osd_mount_options_xfs: noatime
 osd_mon_heartbeat_interval: 30
+# CRUSH
+pool_default_crush_rule: 0
+osd_crush_update_on_start: true
 # Object backend
 osd_objectstore: filestore
 # Performance tuning
index 0708f78b70d028609a019bef6b0d5f7cb51c56a7..f869e509339eec3fe22663fc7443142f0bfa7269 100644 (file)
@@ -55,6 +55,7 @@
   debug_paxos = 0/0
   debug_rgw = 0/0
 {% endif %}
+
 [mon]
   mon osd down out interval = {{ mon_osd_down_out_interval }}
   mon osd min down reporters = {{ mon_osd_min_down_reporters }}
@@ -90,6 +91,8 @@
   osd max backfills = {{ osd_max_backfills }}
   osd recovery op priority = {{ osd_recovery_op_priority }}
   osd objectstore = {{ osd_objectstore }}
+  osd crush update on start = {{ osd_crush_update_on_start }}
+
 {% if mds %}
 [mds]
 {% for host in groups['mdss'] %}