Feature #51213
closed[ceph osd set noautoscale] Global on/off flag for PG autoscale feature
0%
Description
For now, we do not have a global flag, like `ceph osd set noout` for the pg autoscale feature. We have pool flags1 for making this feature on and off.
It would be good to have a flag2 that could be a global flag and it should not touch or override pool level configuration like on/off status or any custom tuning.
This global flag will help during upgrades when we are bouncing the OSD's or any kind of cluster maintenance/OSD maintenance. Because during these activities we do not want the pg-autoscale feature to cause peering/recovery/backfills etc. We can simply set the flag before these activities and once the activity will complete just unset it.
[1] https://docs.ceph.com/en/latest/rados/operations/placement-groups/#autoscaling-placement-groups
[2] `ceph osd set noautoscale` and `ceph osd unset noautoscale`