Project

General

Profile

Actions

Bug #66215

open

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

Added by Sebastian Wagner almost 2 years ago. Updated 5 months ago.

Status:
Pending Backport
Priority:
Normal
Category:
common
Target version:
% 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):
backport_processed
Fixed In:
v19.3.0-5267-ga9b3ba1d4e
Released In:
v20.2.0~1908
Upkeep Timestamp:
2025-11-01T01:03:24+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 (1 open2 closed)

Copied to Ceph - Backport #68324: reef: "ceph osd pool ls detail --format=json" returns invalid JSON: it contains "inf"ResolvedMd Mahamudur Rahaman SajibActions
Copied to Ceph - Backport #68325: quincy: "ceph osd pool ls detail --format=json" returns invalid JSON: it contains "inf"ResolvedMd Mahamudur Rahaman SajibActions
Copied to Ceph - Backport #68326: squid: "ceph osd pool ls detail --format=json" returns invalid JSON: it contains "inf"Fix Under ReviewMd Mahamudur Rahaman SajibActions
Actions #1

Updated by Md Mahamudur Rahaman Sajib almost 2 years ago

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

Updated by Md Mahamudur Rahaman Sajib almost 2 years ago

  • Pull request ID set to 57695
Actions #3

Updated by Sebastian Wagner almost 2 years ago

  • Backport changed from Reef to Reef Squid
Actions #4

Updated by Patrick Donnelly almost 2 years ago

  • 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
Actions #5

Updated by Md Mahamudur Rahaman Sajib almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #10

Updated by Patrick Donnelly almost 2 years ago

  • Status changed from Pending Backport to Fix Under Review
Actions #11

Updated by Patrick Donnelly over 1 year ago

  • Pull request ID changed from 57695 to 58598
Actions #12

Updated by Md Mahamudur Rahaman Sajib over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
Actions #13

Updated by Md Mahamudur Rahaman Sajib over 1 year ago

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

Updated by Md Mahamudur Rahaman Sajib over 1 year ago

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

Updated by Md Mahamudur Rahaman Sajib over 1 year ago

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

Updated by Md Mahamudur Rahaman Sajib over 1 year ago

  • Tags (freeform) set to backport_processed
Actions #17

Updated by Upkeep Bot 8 months ago

  • 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
Actions #18

Updated by Upkeep Bot 8 months ago

  • 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
Actions #19

Updated by Upkeep Bot 8 months ago

  • 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
Actions #20

Updated by Upkeep Bot 5 months ago

  • 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
Actions

Also available in: Atom PDF