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 10 months ago. Updated about 1 month 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 #1

Updated by Kamoltat (Junior) Sirivadhna 10 months ago

  • Pull request ID set to 52442
Actions #2

Updated by Kamoltat (Junior) Sirivadhna 10 months ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Neha Ojha 10 months ago

  • Project changed from Ceph to mgr
  • Category set to pg_autoscaler module
Actions #4

Updated by Kamoltat (Junior) Sirivadhna 7 months ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to reef, quincy, pacific

main is merged -> pending backport

Actions #5

Updated by Backport Bot 7 months ago

  • Copied to Backport #62976: pacific: [pg_autoscaler] PG auto-scaler configs on individual pools is changed after set & unset of "noautoscale" flag added
Actions #6

Updated by Backport Bot 7 months ago

  • Copied to Backport #62977: reef: [pg_autoscaler] PG auto-scaler configs on individual pools is changed after set & unset of "noautoscale" flag added
Actions #7

Updated by Backport Bot 7 months ago

  • Copied to Backport #62978: quincy: [pg_autoscaler] PG auto-scaler configs on individual pools is changed after set & unset of "noautoscale" flag added
Actions #8

Updated by Backport Bot 7 months ago

  • Tags set to backport_processed
Actions #10

Updated by Konstantin Shalygin about 1 month ago

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF