Bug 2047153 - [cephadm] orch upgrade status returns in same format for all different values of --format
Summary: [cephadm] orch upgrade status returns in same format for all different values...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 8.0
Assignee: Adam King
QA Contact: Sunil Kumar Nagaraju
Karen Norteman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-27 10:13 UTC by Vasishta
Modified: 2023-07-05 14:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-3056 0 None None None 2022-01-27 10:24:44 UTC

Description Vasishta 2022-01-27 10:13:05 UTC
Description of problem:
ceph orch upgrade returns output in same format for all values for format

Version-Release number of selected component (if applicable):
16.2.7-37.el8cp

How reproducible:
Always

Steps to Reproduce:
1. Configure a cluster and check `ceph orch upgrade status --format` with all allowed values

Actual results:
# ceph orch upgrade status 
{
    "target_image": null,
    "in_progress": false,
    "services_complete": [],
    "progress": null,
    "message": ""
}
[ceph: root@folio08 /]# ceph orch upgrade status --format yaml       
{
    "target_image": null,
    "in_progress": false,
    "services_complete": [],
    "progress": null,
    "message": ""
}
[ceph: root@folio08 /]# ceph orch upgrade status --format xml 
{
    "target_image": null,
    "in_progress": false,
    "services_complete": [],
    "progress": null,
    "message": ""
}

Expected results:
Output to follow allowed inputs for the argument `--format`

Additional info:


Note You need to log in before you can comment on or make changes to this bug.