Project

General

Profile

Actions

Bug #12251

closed

the output is wrong when runing "ceph osd reweight"

Added by chuanhong wang almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
High
Category:
Monitor
Target version:
-
% Done:

0%

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

Description

environment: centos7 + ceph v0.94
problem: when doing "ceph osd reweight", there is something wrong in the output. For example, the internal value of weight is 58982, but the command output in the bracket is 8589822.
[root@c8 ~]# ceph osd reweight 0 0.9
reweighted osd.0 to 0.9 (8589822)
At line 5625 of OSDMonitor.cc, should ios::hex be replaced by std::hex?


Related issues 2 (0 open2 closed)

Copied to Ceph - Backport #12492: the output is wrong when runing "ceph osd reweight"ResolvedJoao Eduardo Luis07/09/2015Actions
Copied to Ceph - Backport #12493: the output is wrong when runing "ceph osd reweight"ResolvedLoïc Dachary07/09/2015Actions
Actions

Also available in: Atom PDF