Bug 2047153

Summary: [cephadm] orch upgrade status returns in same format for all different values of --format
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: CephadmAssignee: Kushal Deb <kdeb>
Status: CLOSED ERRATA QA Contact: Sayalee <saraut>
Severity: medium Docs Contact: Karen Norteman <knortema>
Priority: unspecified    
Version: 5.1CC: adking, kdeb, mobisht, saraut, sunnagar, tserlin, vereddy
Target Milestone: ---   
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.1-99.el9cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-26 12:11:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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:

Comment 16 errata-xmlrpc 2025-06-26 12:11:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2025:9775