diff --git a/library/ceph_pool.py b/library/ceph_pool.py index 6f9211937..417236289 100644 --- a/library/ceph_pool.py +++ b/library/ceph_pool.py @@ -391,7 +391,7 @@ def create_pool(cluster, args = ['create', user_pool_config['pool_name']['value'], user_pool_config['type']['value']] - if user_pool_config['pg_autoscale_mode']['value'] != 'on': + if user_pool_config['pg_autoscale_mode']['value'] == 'off': args.extend(['--pg_num', user_pool_config['pg_num']['value'], '--pgp_num',