Bug 1997332 - [RFE] Global on/off flag for PG autoscale feature
Summary: [RFE] Global on/off flag for PG autoscale feature
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 5.1
Assignee: Kamoltat (Junior) Sirivadhna
QA Contact: Pawan
Ranjini M N
URL:
Whiteboard:
Depends On:
Blocks: 2031073
TreeView+ depends on / blocked
 
Reported: 2021-08-25 01:36 UTC by Vikhyat Umrao
Modified: 2022-04-04 10:21 UTC (History)
13 users (show)

Fixed In Version: ceph-16.2.7-39.el8cp
Doc Type: Enhancement
Doc Text:
.Use the `noautoscale` flag to manage the PG autoscaler With this release, `pg_autoscaler` can be turned `on` or `off` globally using the `noautoscale` flag. This flag is set to `off` by default. When this flag is set, then all the pools have `pg_autoscale_mode` as `off` For more information, see the link:{storage-strategies-guide}#manually-updating-autoscale-profile[_Manually updating autoscale profile_] section in the _{storage-product} Storage Strategies Guide_.
Clone Of:
Environment:
Last Closed: 2022-04-04 10:21:20 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 51213 0 None None None 2021-08-25 01:36:29 UTC
Github ceph ceph pull 43716 0 None open mgr/autoscaler: Introduce noautoscale flag 2021-11-29 23:59:43 UTC
Github ceph ceph pull 44540 0 None open pacific: mgr/autoscaler: Introduce noautoscale flag 2022-01-26 18:44:33 UTC
Red Hat Issue Tracker RHCEPH-892 0 None None None 2021-08-25 01:38:30 UTC
Red Hat Product Errata RHSA-2022:1174 0 None None None 2022-04-04 10:21:40 UTC

Description Vikhyat Umrao 2021-08-25 01:36:30 UTC
Description of problem:
[RFE] Global on/off flag for PG autoscale feature

https://tracker.ceph.com/issues/51213

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`


Version-Release number of selected component (if applicable):
RHCS 5

Comment 2 Kamoltat (Junior) Sirivadhna 2021-10-19 19:30:56 UTC
Sure thing!

Comment 16 Kamoltat (Junior) Sirivadhna 2022-02-16 14:50:24 UTC
Hi,

Yep, the doc text looks good.

Thank you,

Comment 18 errata-xmlrpc 2022-04-04 10:21:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 5.1 Security, Enhancement, and Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:1174


Note You need to log in before you can comment on or make changes to this bug.