From: krafZLorG <41295775+krafZLorG@users.noreply.github.com> Date: Thu, 21 Oct 2021 07:27:14 +0000 (+0300) Subject: Fix option name osd_crush_chooseleaf_type X-Git-Tag: v17.1.0~625^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0e7c16ce2c94facb7b3979722d1ce50d28d4452f;p=ceph.git Fix option name osd_crush_chooseleaf_type Signed-off-by: Dmitry Kvashnin --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 19a76b2c130c9..e068e52498dd2 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -4326,10 +4326,10 @@ def prepare_bootstrap_config( logger.info('Adjusting default settings to suit single-host cluster...') # replicate across osds, not hosts if ( - not cp.has_option('global', 'osd_crush_choose_leaf_type') - and not cp.has_option('global', 'osd crush choose leaf type') + not cp.has_option('global', 'osd_crush_chooseleaf_type') + and not cp.has_option('global', 'osd crush chooseleaf type') ): - cp.set('global', 'osd_crush_choose_leaf_type', '0') + cp.set('global', 'osd_crush_chooseleaf_type', '0') # replica 2x if ( not cp.has_option('global', 'osd_pool_default_size')