From: Mykola Golub Date: Thu, 22 Mar 2018 18:04:30 +0000 (+0200) Subject: vstart: set osd_pool_default_erasure_code_profile in initial ceph.conf X-Git-Tag: v13.1.0~509^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=82dee013714a89a2999fd644c93c0f04d85f1dda;p=ceph.git vstart: set osd_pool_default_erasure_code_profile in initial ceph.conf Setting it via `ceph config`, when the cluster is already built and started is too late, because it is used when building the initial osd map. Fixes: https://tracker.ceph.com/issues/23430 Signed-off-by: Mykola Golub --- diff --git a/src/vstart.sh b/src/vstart.sh index 1e8aea2bcd4c..97ed6fa25af8 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -522,6 +522,7 @@ $DAEMONOPTS $CMONDEBUG $extra_conf mon cluster log file = $CEPH_OUT_DIR/cluster.mon.\$id.log + osd pool default erasure code profile = plugin=jerasure technique=reed_sol_van k=2 m=1 crush-failure-domain=osd EOF } @@ -860,7 +861,6 @@ mon_pg_warn_min_per_osd = 3 mon_osd_reporter_subtree_level = osd mon_data_avail_warn = 2 mon_data_avail_crit = 1 -osd_pool_default_erasure_code_profile = plugin=jerasure technique=reed_sol_van k=2 m=1 crush-failure-domain=osd mon_allow_pool_delete = true [osd]