From 0e7c16ce2c94facb7b3979722d1ce50d28d4452f Mon Sep 17 00:00:00 2001 From: krafZLorG <41295775+krafZLorG@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:27:14 +0300 Subject: [PATCH] Fix option name osd_crush_chooseleaf_type Signed-off-by: Dmitry Kvashnin --- src/cephadm/cephadm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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') -- 2.39.5