From: Kamoltat Date: Wed, 22 Dec 2021 21:42:52 +0000 (+0000) Subject: docs: Added noautoscale to docs + release notes X-Git-Tag: v17.1.0~145^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=9baed0394e03de41f1921693bb33badd1922fa97;p=ceph-ci.git 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 --- diff --git a/PendingReleaseNotes b/PendingReleaseNotes index 18d39546bec..da2de5ed8d1 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -73,6 +73,13 @@ https://docs.ceph.com/en/latest/rados/operations/placement-groups/ +* 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/ + * The ``ceph pg dump`` command now prints two additional columns: `LAST_SCRUB_DURATION` shows the duration (in seconds) of the last completed scrub; `SCRUB_SCHEDULING` conveys whether a PG is scheduled to be scrubbed at a specified diff --git a/doc/rados/operations/placement-groups.rst b/doc/rados/operations/placement-groups.rst index caaeb7af7aa..5628bad45e0 100644 --- a/doc/rados/operations/placement-groups.rst +++ b/doc/rados/operations/placement-groups.rst @@ -33,6 +33,20 @@ set on any pools that are subsequently created:: 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 ----------------------------------