]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: set max of 32 pgs for .mgr pool
authorSage Weil <sage@newdream.net>
Mon, 22 Nov 2021 21:42:57 +0000 (16:42 -0500)
committerKamoltat <ksirivad@redhat.com>
Wed, 23 Mar 2022 14:11:11 +0000 (14:11 +0000)
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 09642a8ce8d1a0429e275dc02cf7849f22483fdb)

Conflicts:
src/pybind/mgr/mgr_module.py
- made changes in ../src/pybind/mgr/devicehealth/module.py
  instead since there is no .mgr pool but instead devicehealth

src/pybind/mgr/devicehealth/module.py

index 076eabbbb6cec9b6ae3db8f56d880ac04bcaa2c4..244b0ef974977452bbed69ab012b9f06f7788f0f 100644 (file)
@@ -278,6 +278,7 @@ class Module(MgrModule):
             'pool': self.pool_name,
             'pg_num': 1,
             'pg_num_min': 1,
+            'pg_num_max': 32,
         }), '')
         r, outb, outs = result.wait()
         assert r == 0