From b5fb850d1fea4f65b51e42d555f4f3293a513d62 Mon Sep 17 00:00:00 2001 From: Kamoltat Date: Wed, 22 Dec 2021 21:42:52 +0000 Subject: [PATCH] docs: Added noautoscale to docs + release notes Updated the docs in https://docs.ceph.com/en/latest/rados/operations/placement-groups/ and updated the release notes to reflect noautoscale flag. Signed-off-by: Kamoltat (cherry picked from commit 9baed0394e03de41f1921693bb33badd1922fa97) Conflicts: PendingReleaseNotes - trivial fix --- PendingReleaseNotes | 10 +++++++++- doc/rados/operations/placement-groups.rst | 14 ++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/PendingReleaseNotes b/PendingReleaseNotes index 12b47c132c439..eac2563e5ea38 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -32,9 +32,17 @@ in certain recovery scenarios, e.g., monitor database lost and rebuilt, and the restored file system is expected to have the same ID as before. ->=16.2.7 +>=16.2.8 -------- +* MGR: The pg_autoscaler can now be turned `on` and `off` globally + with the `noautoscale` flag. By default this flag is unset and + the default pg_autoscale mode remains the same. + For more details, see: + + https://docs.ceph.com/en/latest/rados/operations/placement-groups/ +>=16.2.7 +-------- * Critical bug in OMAP format upgrade is fixed. This could cause data corruption (improperly formatted OMAP keys) after pre-Pacific cluster upgrade if bluestore-quick-fix-on-mount parameter is set to true or ceph-bluestore-tool's diff --git a/doc/rados/operations/placement-groups.rst b/doc/rados/operations/placement-groups.rst index d494f430034a4..d091075d150c7 100644 --- a/doc/rados/operations/placement-groups.rst +++ b/doc/rados/operations/placement-groups.rst @@ -31,6 +31,20 @@ applied to any pools that are created in the future with:: ceph config set global osd_pool_default_pg_autoscale_mode +You can disable or enable the autoscaler for all pools with +the ``noautoscale`` flag. By default this flag is set to be ``off``, +but you can turn it ``on`` by using the command:: + + ceph osd pool set noautoscale + +You can turn it ``off`` using the command:: + + ceph osd pool unset noautoscale + +To ``get`` the value of the flag use the command:: + + ceph osd pool get noautoscale + Viewing PG scaling recommendations ---------------------------------- -- 2.39.5