Project

General

Profile

Actions

Feature #41647

closed

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

Added by Kai Wagner over 4 years ago. Updated about 4 years 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 3 (1 open2 closed)

Related to Dashboard - Feature #40983: mgr/dashboard: Warn when setting pg_num to not-a-power-of-twoRejectedStephan Müller

Actions
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 logNewSage Weil10/07/2019

Actions
Copied to RADOS - Backport #42120: nautilus: pg_autoscaler should show a warning if pg_num isn't a power of twoResolvedNathan CutlerActions
Actions #1

Updated by Lenz Grimmer over 4 years ago

  • Project changed from Ceph to RADOS
Actions #2

Updated by Lenz Grimmer over 4 years ago

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

Updated by Nathan Cutler over 4 years 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.

Actions #4

Updated by Sage Weil over 4 years ago

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

Updated by Nathan Cutler over 4 years ago

  • Backport set to nautilus
Actions #6

Updated by Sage Weil over 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #7

Updated by Nathan Cutler over 4 years ago

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

Updated by Nathan Cutler over 4 years 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
Actions #9

Updated by Nathan Cutler about 4 years 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".

Actions

Also available in: Atom PDF