From d4fbaf7ea959fd945857abd327271a97fb1da631 Mon Sep 17 00:00:00 2001 From: Neha Ojha Date: Tue, 7 Apr 2020 18:42:12 +0000 Subject: [PATCH] pybind/mgr/balancer/module.py: turn on balancer in upmap mode by default Signed-off-by: Neha Ojha --- src/pybind/mgr/balancer/module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/balancer/module.py b/src/pybind/mgr/balancer/module.py index 36e0213f92e..75d451c9514 100644 --- a/src/pybind/mgr/balancer/module.py +++ b/src/pybind/mgr/balancer/module.py @@ -216,7 +216,7 @@ class Module(MgrModule): { 'name': 'active', 'type': 'bool', - 'default': False, + 'default': True, 'desc': 'automatically balance PGs across cluster', 'runtime': True, }, @@ -293,7 +293,7 @@ class Module(MgrModule): { 'name': 'mode', 'desc': 'Balancer mode', - 'default': 'none', + 'default': 'upmap', 'enum_allowed': ['none', 'crush-compat', 'upmap'], 'runtime': True, }, -- 2.39.5