Project

General

Profile

Bug #11855

ceph osd crush reweight-subtree does not reweight parent node

Added by Sage Weil almost 9 years ago. Updated almost 7 years ago.

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

0%

Source:
Development
Tags:
Backport:
hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

-12   7.27992     host mira121                                     
 63   0.90999         osd.63        down        0          1.00000 
 66   0.90999         osd.66        down        0          1.00000 
 64   0.90999         osd.64        down        0          1.00000 
 69   0.90999         osd.69        down        0          1.00000 
 67   0.90999         osd.67        down        0          1.00000 
 65   0.90999         osd.65        down        0          1.00000 
 57   1.81999         osd.57        down        0          1.00000 

root@mira040:~# ceph osd crush reweight-subtree mira121 0
reweighted subtree id -12 name 'mira121' to 0 in crush map

-12   7.27992     host mira121                                     
 63         0         osd.63        down        0          1.00000 
 66         0         osd.66        down        0          1.00000 
 64         0         osd.64        down        0          1.00000 
 69         0         osd.69        down        0          1.00000 
 67         0         osd.67        down        0          1.00000 
 65         0         osd.65        down        0          1.00000 
 57         0         osd.57        down        0          1.00000 

root@mira040:~# ceph osd crush reweight-all
reweighted crush hierarchy

-12         0     host mira121                                     
 63         0         osd.63        down        0          1.00000 
 66         0         osd.66        down        0          1.00000 
 64         0         osd.64        down        0          1.00000 
 69         0         osd.69        down        0          1.00000 
 67         0         osd.67        down        0          1.00000 
 65         0         osd.65        down        0          1.00000 
 57         0         osd.57        down        0          1.00000 


Related issues

Copied to RADOS - Backport #12487: ceph osd crush reweight-subtree does not reweight parent node Resolved

Associated revisions

Revision 1da96ab8 (diff)
Added by Sage Weil almost 9 years ago

crush/CrushWrapper: adjust subtree base in adjust_subtree_weight

We were correctly adjusting all the children, but the subtree root was
not being updated.

Fixes: #11855
Signed-off-by: Sage Weil <>

Revision 05fc59be (diff)
Added by Sage Weil over 8 years ago

crush/CrushWrapper: adjust subtree base in adjust_subtree_weight

We were correctly adjusting all the children, but the subtree root was
not being updated.

Fixes: #11855
Signed-off-by: Sage Weil <>
(cherry picked from commit 1da96ab8442522bda4fc39e05597f17b8ebddf89)

History

#1 Updated by Sage Weil almost 9 years ago

  • Status changed from New to In Progress

#2 Updated by Sage Weil almost 9 years ago

  • Status changed from In Progress to Fix Under Review
  • Backport set to hammer

#4 Updated by Sage Weil over 8 years ago

  • Status changed from Fix Under Review to Pending Backport

#5 Updated by Loïc Dachary over 8 years ago

  • Status changed from Pending Backport to Resolved

#6 Updated by Greg Farnum almost 7 years ago

  • Project changed from Ceph to RADOS
  • Category deleted (10)

Also available in: Atom PDF