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?
Updated by Sage Weil almost 9 years ago
- Assignee set to Joao Eduardo Luis
- Priority changed from Normal to High
Updated by Joao Eduardo Luis almost 9 years ago
- Category set to Monitor
- Status changed from New to Fix Under Review
I have no idea why we're outputting that in hex, but hey, here's the fix: https://github.com/ceph/ceph/pull/5301
Updated by Kefu Chai almost 9 years ago
- Status changed from Fix Under Review to Pending Backport
- Backport set to firefly, hammer
Updated by Nathan Cutler over 8 years ago
- Status changed from Pending Backport to Resolved
Actions