From 82dee013714a89a2999fd644c93c0f04d85f1dda Mon Sep 17 00:00:00 2001 From: Mykola Golub Date: Thu, 22 Mar 2018 20:04:30 +0200 Subject: [PATCH] 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 --- src/vstart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vstart.sh b/src/vstart.sh index 1e8aea2bcd4..97ed6fa25af 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] -- 2.39.5