Project

General

Profile

Bug #46233

cephadm: Add "--format" option to "ceph orch status"

Added by Ricardo Marques 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

ATM it's not possible to specify the output format for "ceph orch status":

ceph orch status --format=json

Related issues

Related to Orchestrator - Bug #46237: cephadm: Inconsistent exit code New

History

#1 Updated by Ricardo Marques 4 months ago

  • Description updated (diff)

#2 Updated by Nathan Cutler 4 months ago

This is actual two different issues ("--format option missing" and "SSH error does not affect exit status"). Maybe use the "copy" feature to make a second issue to track them separately?

#3 Updated by Ricardo Marques 4 months ago

  • Copied to Bug #46237: cephadm: Inconsistent exit code added

#4 Updated by Ricardo Marques 4 months ago

  • Description updated (diff)

#5 Updated by Ricardo Marques 4 months ago

  • Copied to deleted (Bug #46237: cephadm: Inconsistent exit code)

#6 Updated by Ricardo Marques 4 months ago

  • Related to Bug #46237: cephadm: Inconsistent exit code added

#7 Updated by Ricardo Marques 4 months ago

Nathan Cutler wrote:

This is actual two different issues ("--format option missing" and "SSH error does not affect exit status"). Maybe use the "copy" feature to make a second issue to track them separately?

Agree, I've now submitted https://tracker.ceph.com/issues/46237 for the exit code issue

#8 Updated by Sebastian Wagner 4 months ago

we're talking about a function that is 3 LOCs. having multiple tracker issues for this just feels wrong to me.

#9 Updated by Ricardo Marques 4 months ago

  • Assignee set to Ricardo Marques

#10 Updated by Ricardo Marques 4 months ago

  • Status changed from New to In Progress

#11 Updated by Ricardo Marques 4 months ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 35805

#12 Updated by Ricardo Marques 3 months ago

  • Status changed from Fix Under Review to Resolved
  • Target version set to v16.0.0

#13 Updated by Sebastian Wagner 3 months ago

  • Target version changed from v16.0.0 to v15.2.5

Also available in: Atom PDF