Project

General

Profile

Actions

Bug #14177

closed

osd:osd tree display in/out

Added by huanwen ren over 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

In the use of ceph osd tree osd status display, the osd in/out status display for 1.00000 or 0
Example:

ceph osd tree
ID WEIGHT   TYPE NAME       UP/DOWN REWEIGHT PRIMARY-AFFINITY 
-1 11.05998 root default                                      
-2 11.05998     host ceph46                                   
 0  1.81000         osd.0        up  1.00000          1.00000 
 1  1.81000         osd.1        up  1.00000          1.00000 
 2  1.81000         osd.2      down        0          1.00000 
 3  1.81000         osd.3        up  1.00000          1.00000 
 4  1.81000         osd.4        up  1.00000          1.00000 
 5  1.81000         osd.5        up  1.00000          1.00000 
12  0.20000         osd.12       up  1.00000          1.00000 

The modified are shown as

ceph osd tree
ID WEIGHT   TYPE NAME       UP/DOWN IN/OUT PRIMARY-AFFINITY 
-1 11.05998 root default                                      
-2 11.05998     host ceph46                                   
 0  1.81000         osd.0        up    in          1.00000 
 1  1.81000         osd.1        up    in          1.00000 
 2  1.81000         osd.2      down    out         1.00000 
 3  1.81000         osd.3        up    in          1.00000 
 4  1.81000         osd.4        up    in          1.00000 
 5  1.81000         osd.5        up    in          1.00000 
12  0.20000         osd.12       up    in          1.00000 

Actions #2

Updated by Josh Durgin about 7 years ago

  • Status changed from New to Closed

As commented in the PR, the weights can be any float value, e.g. from reweight-by-utilization.

Actions

Also available in: Atom PDF