Project

General

Profile

Bug #11855

ceph osd crush reweight-subtree does not reweight parent node

Added by Sage Weil over 3 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
06/02/2015
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):

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 over 3 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 about 3 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 over 3 years ago

  • Status changed from New to In Progress

#2 Updated by Sage Weil over 3 years ago

  • Status changed from In Progress to Need Review
  • Backport set to hammer

#4 Updated by Sage Weil over 3 years ago

  • Status changed from Need Review to Pending Backport

#5 Updated by Loic Dachary about 3 years ago

  • Status changed from Pending Backport to Resolved

#6 Updated by Greg Farnum over 1 year ago

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

Also available in: Atom PDF