Project

General

Profile

Feature #41647

pg_autoscaler should show a warning if pg_num isn't a power of two

Added by Kai Wagner 7 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:

Description

As the pg_autoscaler will be automatically turned on with the 14.2.4 release and future releases I would like to enhance the functionality a bit.

We agreed on that the pg_num should always be a power of two and already updated the docs, so it would be the next step to also implement such check into the autoscaler so a user would directly be warned if they configured something else.


Related issues

Related to mgr - Feature #40983: mgr/dashboard: Warn when setting pg_num to not-a-power-of-two Rejected 07/26/2019
Related to RADOS - Bug #42215: cluster [WRN] Health check failed: 1 pool(s) have non-power-of-two pg_num (POOL_PG_NUM_NOT_POWER_OF_TWO)" in cluster log New 10/07/2019
Copied to RADOS - Backport #42120: nautilus: pg_autoscaler should show a warning if pg_num isn't a power of two Resolved

History

#1 Updated by Lenz Grimmer 7 months ago

  • Project changed from Ceph to RADOS

#2 Updated by Lenz Grimmer 7 months ago

  • Related to Feature #40983: mgr/dashboard: Warn when setting pg_num to not-a-power-of-two added

#3 Updated by Nathan Cutler 7 months ago

Note: contrary to what the bug description says, pg_autoscaler will (apparently) not be automatically turned on with the 14.2.4 release or any future nautilus release.

#4 Updated by Sage Weil 6 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 30525

#5 Updated by Nathan Cutler 6 months ago

  • Backport set to nautilus

#6 Updated by Sage Weil 6 months ago

  • Status changed from Fix Under Review to Pending Backport

#7 Updated by Nathan Cutler 6 months ago

  • Copied to Backport #42120: nautilus: pg_autoscaler should show a warning if pg_num isn't a power of two added

#8 Updated by Nathan Cutler 6 months ago

  • Related to Bug #42215: cluster [WRN] Health check failed: 1 pool(s) have non-power-of-two pg_num (POOL_PG_NUM_NOT_POWER_OF_TWO)" in cluster log added

#9 Updated by Nathan Cutler about 2 months ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF