Project

General

Profile

Actions

Bug #61922

closed

[pg_autoscaler] PG auto-scaler configs on individual pools is changed after set & unset of "noautoscale" flag

Added by Kamoltat (Junior) Sirivadhna 11 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Category:
pg_autoscaler module
Target version:
-
% Done:

100%

Source:
Tags:
backport_processed
Backport:
reef, quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Description of problem:
The  PG auto-scaler settings on the pool are reset and all are either turned OFF or ON upon setting the "noautoscale" flag, irrespective of the previous states.

[ceph: root@ceph-node1-installer /]# ceph osd pool autoscale-status
POOL                            SIZE  TARGET SIZE  RATE  RAW CAPACITY   RATIO  TARGET RATIO  EFFECTIVE RATIO  BIAS  PG_NUM  NEW PG_NUM  AUTOSCALE  BULK
.mgr                          10353k                4.0        53920G  0.0000                                  1.0       1              off        False
cephfs.cephfs.meta            308.2M                4.0        53920G  0.0000                                  4.0      16              warn       False
cephfs.cephfs.data            71680M                4.0        53920G  0.0052                                  1.0      32              warn       False
.rgw.root                      2562                 4.0        53920G  0.0000                                  1.0      32              on         False
default.rgw.log                3729                 4.0        53920G  0.0000                                  1.0      32              on         False
default.rgw.control               0                 4.0        53920G  0.0000                                  1.0      32              off        False
default.rgw.meta               3546k                4.0        53920G  0.0000                                  4.0      32              on         False

[ceph: root@ceph-node1-installer /]# ceph osd pool set noautoscale
noautoscale is set, all pools now have autoscale off
[ceph: root@ceph-node1-installer /]# ceph osd pool autoscale-status
POOL                            SIZE  TARGET SIZE  RATE  RAW CAPACITY   RATIO  TARGET RATIO  EFFECTIVE RATIO  BIAS  PG_NUM  NEW PG_NUM  AUTOSCALE  BULK
.mgr                          10353k                4.0        53920G  0.0000                                  1.0       1              off        False
cephfs.cephfs.meta            308.2M                4.0        53920G  0.0000                                  4.0      16              off        False
cephfs.cephfs.data            71680M                4.0        53920G  0.0052                                  1.0      32              off        False
.rgw.root                      2562                 4.0        53920G  0.0000                                  1.0      32              off        False
default.rgw.log                3729                 4.0        53920G  0.0000                                  1.0      32              off        False
default.rgw.control               0                 4.0        53920G  0.0000                                  1.0      32              off        False
default.rgw.meta               3546k                4.0        53920G  0.0000                                  4.0      32              off        False

# ceph osd pool unset noautoscale
noautoscale is unset, all pools now have autoscale on
[ceph: root@ceph-node1-installer /]# ceph osd pool autoscale-status
POOL                            SIZE  TARGET SIZE  RATE  RAW CAPACITY   RATIO  TARGET RATIO  EFFECTIVE RATIO  BIAS  PG_NUM  NEW PG_NUM  AUTOSCALE  BULK
.mgr                          10353k                4.0        53920G  0.0000                                  1.0       1              on         False
cephfs.cephfs.meta            308.2M                4.0        53920G  0.0000                                  4.0      16              on         False
cephfs.cephfs.data            71680M                4.0        53920G  0.0052                                  1.0      32              on         False
.rgw.root                      2562                 4.0        53920G  0.0000                                  1.0      32              on         False
default.rgw.log                3729                 4.0        53920G  0.0000                                  1.0      32              on         False
default.rgw.control               0                 4.0        53920G  0.0000                                  1.0      32              on         False
default.rgw.meta               3546k                4.0        53920G  0.0000                                  4.0      32              on         False

Related issues 3 (0 open3 closed)

Copied to mgr - Backport #62976: pacific: [pg_autoscaler] PG auto-scaler configs on individual pools is changed after set & unset of "noautoscale" flag RejectedKamoltat (Junior) SirivadhnaActions
Copied to mgr - Backport #62977: reef: [pg_autoscaler] PG auto-scaler configs on individual pools is changed after set & unset of "noautoscale" flag ResolvedKamoltat (Junior) SirivadhnaActions
Copied to mgr - Backport #62978: quincy: [pg_autoscaler] PG auto-scaler configs on individual pools is changed after set & unset of "noautoscale" flag ResolvedKamoltat (Junior) SirivadhnaActions
Actions

Also available in: Atom PDF