Project

General

Profile

Actions

Bug #47729

closed

ceph-volume lvm batch --report json returns invalid json when empty

Added by Guillaume Abrioux over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
octopus,nautilus
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

since https://github.com/ceph/ceph/pull/34740 got merged, a regression has been introduced when running `ceph-volume lvm batch --report json` against existing OSDs.
ceph-volume doesn't output a valid json, I think it should at least return an empty dict.


Related issues 3 (0 open3 closed)

Related to ceph-volume - Bug #47760: ceph-volume output changed: (Expecting value: line 1 column 1 (char 0))ResolvedJan Fajerski

Actions
Copied to ceph-volume - Backport #47768: nautilus: ceph-volume lvm batch --report json returns invalid json when emptyResolvedJan FajerskiActions
Copied to ceph-volume - Backport #47769: octopus: ceph-volume lvm batch --report json returns invalid json when emptyResolvedJan FajerskiActions
Actions #1

Updated by Jan Fajerski over 3 years ago

  • Subject changed from ceph-volume lvm batch --report json is partially broken to ceph-volume lvm batch --report json returns invalid json when empty
  • Status changed from New to Fix Under Review
  • Backport set to octopus,nautilus
  • Pull request ID set to 37531
Actions #2

Updated by Jan Fajerski over 3 years ago

  • Related to Bug #47760: ceph-volume output changed: (Expecting value: line 1 column 1 (char 0)) added
Actions #3

Updated by Jan Fajerski over 3 years ago

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

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47768: nautilus: ceph-volume lvm batch --report json returns invalid json when empty added
Actions #5

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47769: octopus: ceph-volume lvm batch --report json returns invalid json when empty added
Actions #6

Updated by Nathan Cutler over 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF