Project

General

Profile

Bug #55670

osdmaptool is not mapping child pgs to the target OSDs

Added by dongdong tao almost 2 years ago. Updated over 1 year ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Step to reproduce the issue:
1. ceph osd getmap > osdmap.bin

2. ./bin/osdmaptool --test-map-pgs-dump --pool <pool id> --pg_num <current pg number> ../../osdmap.out

3. Choose a new pg number which equals to (current_pg_number * 2) and run step 2 again,
And you'll find the new child PGs are still staying at the exact same OSD with the parent PGs

The reason is that we didn't update the pgp_num which is needed for crush to remap those child PGs.
I believe the user's expectation of this test-map-pgs-dump command should be able to dump the final PG distribution.

History

#1 Updated by Laura Flores almost 2 years ago

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

#2 Updated by Patrick Donnelly over 1 year ago

  • Project changed from Ceph to RADOS
  • Assignee set to dongdong tao
  • Target version set to v18.0.0
  • Source set to Community (dev)
  • Backport set to quincy,pacific

Also available in: Atom PDF