Project

General

Profile

Actions

Bug #66215

closed
SW MS

"ceph osd pool ls detail --format=json" returns invalid JSON: it contains "inf"

Bug #66215: "ceph osd pool ls detail --format=json" returns invalid JSON: it contains "inf"

Added by Sebastian Wagner over 2 years ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Category:
common
Target version:
Due date:
% Done:

0%

Source:
Development
Backport:
squid,reef,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Tags (freeform):
Fixed In:
v19.3.0-5267-ga9b3ba1d4e
Released In:
v20.2.0~1908
Upkeep Timestamp:
2026-08-28T01:34:51+00:00

Description

We see this in Reef:

[
  {
    "pool_id": 1,
    ...
    "read_balance": {
      "score_acting": inf,
      "score_stable": inf,
      ...
    }
  },
  ...
]

Note that inf is not a valid JSON and few libraries accept this. It might originate from: https://en.cppreference.com/w/cpp/types/numeric_limits/infinity .


Related issues 3 (0 open — 3 closed)

Copied to Ceph - Backport #68324: reef: "ceph osd pool ls detail --format=json" returns invalid JSON: it contains "inf"ResolvedMd Mahamudur Rahaman Sajib

Actions
Copied to Ceph - Backport #68325: quincy: "ceph osd pool ls detail --format=json" returns invalid JSON: it contains "inf"ResolvedMd Mahamudur Rahaman Sajib

Actions
Copied to Ceph - Backport #68326: squid: "ceph osd pool ls detail --format=json" returns invalid JSON: it contains "inf"ResolvedMd Mahamudur Rahaman Sajib

Actions

MS Updated by Md Mahamudur Rahaman Sajib over 2 years ago Actions #1

  • Status changed from New to In Progress
  • Assignee set to Md Mahamudur Rahaman Sajib

MS Updated by Md Mahamudur Rahaman Sajib over 2 years ago Actions #2

  • Pull request ID set to 57695

SW Updated by Sebastian Wagner over 2 years ago Actions #3

  • Backport changed from Reef to Reef Squid

PD Updated by Patrick Donnelly over 2 years ago Actions #4

  • Status changed from In Progress to Fix Under Review
  • Target version set to v20.0.0
  • Source set to Development
  • Backport changed from Reef Squid to squid,reef,quincy

MS Updated by Md Mahamudur Rahaman Sajib over 2 years ago Actions #5

  • Status changed from Fix Under Review to Pending Backport

PD Updated by Patrick Donnelly over 2 years ago Actions #10

  • Status changed from Pending Backport to Fix Under Review

PD Updated by Patrick Donnelly over 2 years ago Actions #11

  • Pull request ID changed from 57695 to 58598

MS Updated by Md Mahamudur Rahaman Sajib about 2 years ago Actions #12

  • Status changed from Fix Under Review to Pending Backport

MS Updated by Md Mahamudur Rahaman Sajib about 2 years ago Actions #13

  • Copied to Backport #68324: reef: "ceph osd pool ls detail --format=json" returns invalid JSON: it contains "inf" added

MS Updated by Md Mahamudur Rahaman Sajib about 2 years ago Actions #14

  • Copied to Backport #68325: quincy: "ceph osd pool ls detail --format=json" returns invalid JSON: it contains "inf" added

MS Updated by Md Mahamudur Rahaman Sajib about 2 years ago Actions #15

  • Copied to Backport #68326: squid: "ceph osd pool ls detail --format=json" returns invalid JSON: it contains "inf" added

MS Updated by Md Mahamudur Rahaman Sajib about 2 years ago Actions #16

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot over 1 year ago Actions #17

  • Merge Commit set to a9b3ba1d4e6f4aa87689bb192568c92486fd07ec
  • Fixed In set to v19.3.0-5267-ga9b3ba1d4e6
  • Upkeep Timestamp set to 2025-07-08T22:38:23+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #18

  • Fixed In changed from v19.3.0-5267-ga9b3ba1d4e6 to v19.3.0-5267-ga9b3ba1d4e6f
  • Upkeep Timestamp changed from 2025-07-08T22:38:23+00:00 to 2025-07-14T15:46:55+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #19

  • Fixed In changed from v19.3.0-5267-ga9b3ba1d4e6f to v19.3.0-5267-ga9b3ba1d4e
  • Upkeep Timestamp changed from 2025-07-14T15:46:55+00:00 to 2025-07-14T21:37:58+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #20

  • Released In set to v20.2.0~1908
  • Upkeep Timestamp changed from 2025-07-14T21:37:58+00:00 to 2025-11-01T01:03:24+00:00

PD Updated by Patrick Donnelly 3 months ago Actions #21

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot 3 months ago Actions #22

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-11-01T01:03:24+00:00 to 2026-08-28T01:34:51+00:00
Actions

Also available in: PDF Atom