diff --git a/src/pybind/mgr/pg_autoscaler/module.py b/src/pybind/mgr/pg_autoscaler/module.py index 57d2765511448..d4758c75ab446 100644 --- a/src/pybind/mgr/pg_autoscaler/module.py +++ b/src/pybind/mgr/pg_autoscaler/module.py @@ -605,7 +605,8 @@ def _get_pool_pg_targets( if (final_pg_target > p['pg_num_target'] * threshold or final_pg_target < p['pg_num_target'] / threshold) and \ final_ratio >= 0.0 and \ - final_ratio <= 1.0: + final_ratio <= 1.0 and \ + p['pg_autoscale_mode'] == 'on': adjust = True assert pool_pg_target is not None