Project

General

Profile

Actions

Bug #75423

closed
KS EZ

PG autoscaler should respect mon_max_pg_per_osd when creating new pools

Bug #75423: PG autoscaler should respect mon_max_pg_per_osd when creating new pools

Added by Kamoltat (Junior) Sirivadhna 9 months ago. Updated 3 months ago.

Status:
Backporting
Priority:
Normal
Assignee:
Category:
pg_autoscaler module
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid, tentacle, umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-1902-g038ac2ddfa
Released In:
Upkeep Timestamp:
2026-08-27T18:44:47+00:00

Description

There is a scenario where when we initally create 2-3 pools with --bulk flag, we basically already at near mon_max_pg_per_osd, especially when we land on a pg_num that quantized to the nearest power of two. We pushed it over through creating new pools that will have at least 32 pg by default without consulting the autoscaler module. Therefore, we would get a HEALTH_WARN regarding too many PGs per OSD (256 > max 250)


Related issues 3 (3 open — 0 closed)

Copied to mgr - Backport #79327: tentacle: PG autoscaler should respect mon_max_pg_per_osd when creating new poolsFix Under ReviewEric Zhang

Actions
Copied to mgr - Backport #79328: umbrella: PG autoscaler should respect mon_max_pg_per_osd when creating new poolsFix Under ReviewEric Zhang

Actions
Copied to mgr - Backport #80068: squid: PG autoscaler should respect mon_max_pg_per_osd when creating new poolsNewEric Zhang

Actions

KS Updated by Kamoltat (Junior) Sirivadhna 9 months ago Actions #1

  • Project changed from RADOS to mgr
  • Category set to pg_autoscaler module
  • Assignee set to Eric Zhang

KS Updated by Kamoltat (Junior) Sirivadhna 9 months ago Actions #2

  • Subject changed from PG count changed multiple times on cephfs data pools with bulk flag enabled to PG autoscaler should respect mon_max_pg_per_osd when creating new pools

KS Updated by Kamoltat (Junior) Sirivadhna 9 months ago Actions #3

  • Description updated (diff)

KS Updated by Kamoltat (Junior) Sirivadhna 8 months ago Actions #4

  • Backport set to squid, tentacle
  • Pull request ID set to 67985

NM Updated by Nitzan Mordechai 6 months ago Actions #5

bug scrub: @Eric Zhang any progress on that one?

EZ Updated by Eric Zhang 6 months ago Actions #6

  • Status changed from New to Fix Under Review

EZ Updated by Eric Zhang 6 months ago Actions #7

Nitzan Mordechai wrote in #note-5:

bug scrub: @Eric Zhang any progress on that one?

@Nitzan Mordechai PR has been approved and needs qa

UB Updated by Upkeep Bot 4 months ago Actions #8

  • Status changed from Fix Under Review to Pending Backport
  • Merge Commit set to 038ac2ddfa62f0af7c107850852915fed439c0d0
  • Fixed In set to v21.3.0-1902-g038ac2ddfa
  • Upkeep Timestamp set to 2026-08-10T15:59:58+00:00

UB Updated by Upkeep Bot 4 months ago Actions #9

  • Copied to Backport #79327: tentacle: PG autoscaler should respect mon_max_pg_per_osd when creating new pools added

UB Updated by Upkeep Bot 4 months ago Actions #10

  • Copied to Backport #79328: umbrella: PG autoscaler should respect mon_max_pg_per_osd when creating new pools added

UB Updated by Upkeep Bot 4 months ago Actions #11

  • Tags (freeform) set to backport_processed

EZ Updated by Eric Zhang 4 months ago Actions #12

  • Backport changed from squid, tentacle to squid, tentacle, umbrella

UB Updated by Upkeep Bot 3 months ago Actions #13

  • Copied to Backport #80068: squid: PG autoscaler should respect mon_max_pg_per_osd when creating new pools added

UB Updated by Upkeep Bot 3 months ago Actions #14

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-08-10T15:59:58+00:00 to 2026-08-27T18:44:47+00:00
Actions

Also available in: PDF Atom