Project

General

Profile

Actions

Bug #45594

closed

cephadm: weight of a replaced OSD is 0

Added by Kiefer Chang almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cephadm/osd
Target version:
% Done:

0%

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

Description

Not sure if this is intended.

After deleting an OSD with `--replace` flag and create new OSD on it, OSD's WEIGHT is 0.

─# bin/ceph osd tree
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2020-05-19T07:38:24.802+0000 7f88013fb700 -1 WARNING: all dangerous and experimental features are enabled.
2020-05-19T07:38:24.822+0000 7f88013fb700 -1 WARNING: all dangerous and experimental features are enabled.
ID  CLASS  WEIGHT   TYPE NAME             STATUS  REWEIGHT  PRI-AFF
-1         0.32983  root default                                   
-3         0.29576      host ceph-master                           
 0    ssd  0.09859          osd.0             up   1.00000  1.00000
 1    ssd  0.09859          osd.1             up   1.00000  1.00000
 2    ssd  0.09859          osd.2             up   1.00000  1.00000
-7         0.03407      host osd0                                  
 3    hdd        0          osd.3             up   1.00000  1.00000        <----
 4    hdd  0.01949          osd.4             up   1.00000  1.00000
 5    hdd  0.01459          osd.5             up   1.00000  1.00000
Actions

Also available in: Atom PDF