Actions
Bug #12251
closedthe output is wrong when runing "ceph osd reweight"
% Done:
0%
Source:
other
Tags:
Backport:
firefly, hammer
Regression:
No
Severity:
3 - minor
Reviewed:
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?
Actions