Bug #46233
closed
cephadm: Add "--format" option to "ceph orch status"
Added by Ricardo Marques almost 4 years ago.
Updated almost 4 years ago.
Description
ATM it's not possible to specify the output format for "ceph orch status":
ceph orch status --format=json
- Description updated (diff)
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?
- Copied to Bug #46237: cephadm: Inconsistent exit code added
- Description updated (diff)
- Copied to deleted (Bug #46237: cephadm: Inconsistent exit code)
- Related to Bug #46237: cephadm: Inconsistent exit code added
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
we're talking about a function that is 3 LOCs. having multiple tracker issues for this just feels wrong to me.
- Assignee set to Ricardo Marques
- Status changed from New to In Progress
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 35805
- Status changed from Fix Under Review to Resolved
- Target version set to v16.0.0
- Target version changed from v16.0.0 to v15.2.5
Also available in: Atom
PDF