]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/autoscaler: Introduce noautoscale flag
authorKamoltat <ksirivad@redhat.com>
Wed, 8 Dec 2021 15:13:38 +0000 (15:13 +0000)
committerKamoltat <ksirivad@redhat.com>
Tue, 25 Jan 2022 19:51:10 +0000 (19:51 +0000)
commit6589dee8ca64cd0287a0028c0d5afdef43509d33
tree140e811c5159972b5692fe3788970352672bd234
parent62d74944f096f9210e6bf5a5b8505aa256910f24
pybind/mgr/autoscaler: Introduce noautoscale flag

`noautoscale` flag is a feature where the
user can choose to flip the switch between
turning autoscale `on` and `off` for all
pools with a single command.

`osd pool set noautoscale` will turn all
autoscale mode`off` for all pools.

`osd pool unset noautoscale` will turn all
autoscale mode `on` for all pools.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit be17f041bab90d8f93c3e52df74cdf6c28b44ef2)

Conflicts:
src/pybind/mgr/pg_autoscaler/module.py - trivial fix
src/pybind/mgr/pg_autoscaler/module.py