Actions
Bug #8108
closedOSD json output uses strings for booleans
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OSDMap
Target version:
-
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The output for osd stat using JSON format uses strings for booleans:
{"epoch":4,"num_osds":1,"num_up_osds":1,"num_in_osds":"1","full":"false","nearfull":"false"}
Those should not be strings if the intent is for them to be booleans.
This has the side effect of other tools loading that output and instead of seeing a boolean they interpret the
value as a string which is not correct.
Updated by Joao Eduardo Luis about 10 years ago
- Status changed from New to Fix Under Review
wip-8108
Updated by Joao Eduardo Luis about 10 years ago
pull request: https://github.com/ceph/ceph/pull/1678
Updated by Joao Eduardo Luis about 10 years ago
{ "epoch": 1, "num_osds": 0, "num_up_osds": 0, "num_in_osds": 0, "full": false, "nearfull": false}
Updated by Sage Weil about 10 years ago
- Status changed from Fix Under Review to Resolved
Actions