Project

General

Profile

Actions

Bug #8102

closed

OSD json output mixes ints with strings

Added by Alfredo Deza about 10 years ago. Updated about 10 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
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

This is unexpected output from checking the OSD status in JSON format:

vagrant@node1:~$ sudo ceph osd stat --format=json

{"epoch":5,"num_osds":1,"num_up_osds":1,"num_in_osds":"1","full":"false","nearfull":"false"}

It mixes integers and strings.

Actions #1

Updated by Greg Farnum about 10 years ago

  • Status changed from New to Duplicate

Oh, this was already input (and fixed) as #7159

Actions

Also available in: Atom PDF