Skip to content

umbrella: Mgr: Allow autoscaling for overlapped roots - #70726

Merged
batrick merged 4 commits into
ceph:umbrellafrom
Ericmzhang:wip-78886-umbrella
Oct 28, 2026
Merged

batrick merged 4 commits into
ceph:umbrellafrom
Ericmzhang:wip-78886-umbrella

Conversation

@Ericmzhang

Copy link
Copy Markdown
Contributor

Remove references to overlapped roots. Assign PG budget per root as sum(mon_target_pg_per_osd/# roots that contain OSD)

Fixes: https://tracker.ceph.com/issues/73892

Signed-off-by: Eric Zhang <[email protected]>
(cherry picked from commit 43dfdc8)
No longer need to detect which roots are overlapping. Instead test PG budget allocation when roots overlap

Fixes: https://tracker.ceph.com/issues/73892

Signed-off-by: Eric Zhang <[email protected]>
(cherry picked from commit 47c8ab5)
Remove mention of overlapped roots failing to scale and added
example of adding overlapped roots.
Added mention of changes in PendingReleaseNotes

Fixes: https://tracker.ceph.com/issues/73892

Signed-off-by: Eric Zhang <[email protected]>
(cherry picked from commit 6831e7c)
Added overlapped roots test case for CRUSH rules
rule zone-1-only
  step take zone us-east-1
  step chooseleaf firstn 3 type host
  step emit

rule zone-2-only
  step take zone us-east-2
  step chooseleaf firstn 3 type host
  step emit

rule zone-3-only
  step take zone us-east-3
  step chooseleaf firstn 3 type host
  step emit

rule default
   step take default
  step chooseleaf firstn 3 type host
  step emit

and osd tree
    -1         6.00000  root default
     -8         6.00000      region us-east
     -5         2.00000          zone us-east-1
    -13         1.00000              host host0
      0    ssd  1.00000                  osd.0
    -14         1.00000              host host1
      1    ssd  1.00000                  osd.1
     -6         2.00000          zone us-east-2
    -15         1.00000              host host2
      2    ssd  1.00000                  osd.2
    -16         1.00000              host host3
      3    ssd  1.00000                  osd.3
     -7         2.00000          zone us-east-3
    -17         1.00000              host host4
      4    ssd  1.00000                  osd.4
    -18         1.00000              host host5
      5    ssd  1.00000                  osd.5

    -1: pg_target = 300
    -5: pg_target = 100
    -6  pg_target = 100
    -7: pg_target = 100

Fixes: https://tracker.ceph.com/issues/73892

Signed-off-by: Eric Zhang <[email protected]>
(cherry picked from commit 7f9e383)
@Ericmzhang
Ericmzhang requested review from a team as code owners July 30, 2026 17:06
@Ericmzhang Ericmzhang added this to the umbrella milestone Jul 30, 2026
@github-actions github-actions Bot added documentation mon pybind tests releng-audit-pass Release engineering: passed backport verification audit. labels Jul 30, 2026
@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath18-testing-20260914.015853-umbrella.

@kamoltat

kamoltat commented Oct 5, 2026

Copy link
Copy Markdown
Member

@kamoltat kamoltat added needs-merge QA-approved, awaiting merge window and removed needs-qa labels Oct 16, 2026
@batrick batrick modified the milestones: umbrella, v21.2.1 Oct 28, 2026
@batrick
batrick merged commit 94666ce into ceph:umbrella Oct 28, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core documentation mon needs-merge QA-approved, awaiting merge window pybind releng-audit-pass Release engineering: passed backport verification audit. tests wip-bharath18-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants