Bug 2092506

Summary: [cephadm] orch upgrade status help message is not apt
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: medium Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 5.2CC: adking, akraj, msaini, vereddy
Target Milestone: ---   
Target Release: 6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.6-5.el9cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-15 09:15:29 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:
Bug Depends On: 2180567    
Bug Blocks:    

Description Vasishta 2022-06-01 17:19:23 UTC
Description of problem:
help message of below commands are same and help message of ceph orch upgrade status can be changed to avoid confusions

ceph orch upgrade check and ceph orch upgrade status 

Version-Release number of selected component (if applicable):
16.2.8-29.el8cp

How reproducible:
Always

Steps to Reproduce:
1. Configure a cluster and observe help message for ceph orch upgrade status


Actual results:
[ceph: root@magna031 /]# ceph orch upgrade status --help |tail -n 1
orch upgrade status                                                            Check service versions vs available and target containers


Expected results:
Apt help message for the command

Additional info:
Help message seems to be of upgrade check

[ceph: root@magna031 /]# ceph orch upgrade check --help |tail -n 1
orch upgrade check [<image>] [<ceph_version>]                                  Check service versions vs available and target containers

Comment 9 Manisha Saini 2023-04-13 18:50:57 UTC
Verified this BZ with 

[ceph: root@ceph-mani-mu0iw3-node1-installer /]# rpm -qa | grep cephadm
cephadm-17.2.6-17.el9cp.noarch
ceph-mgr-cephadm-17.2.6-17.el9cp.noarch

[ceph: root@ceph-mani-mu0iw3-node1-installer /]# ceph --version
ceph version 17.2.6-17.el9cp (871f491e0d45eb58a738a645e40bf10b95df45b9) quincy (stable)

On RHCS 5.3z2
==============
[ceph: root@ceph-doremon-403jro-node1-installer /]# ceph orch upgrade status --help |tail -n 1
orch upgrade status                                                                                                    Check service versions vs available and target containers


[ceph: root@ceph-doremon-403jro-node1-installer /]# ceph orch upgrade check --help |tail -n 1
orch upgrade check [<image>] [<ceph_version>]                                                                          Check service versions vs available and target containers


On RHCS 6.0
============
[ceph: root@ceph-mani-mu0iw3-node1-installer /]# ceph orch upgrade status --help |tail -n 1
orch upgrade status                                                                                                    Check the status of any potential ongoing upgrade operation


[ceph: root@ceph-mani-mu0iw3-node1-installer /]# ceph orch upgrade check --help |tail -n 1
orch upgrade check [<image>] [<ceph_version>]                                                                          Check service versions vs available and target containers

Comment 13 errata-xmlrpc 2023-06-15 09:15:29 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 (Moderate: Red Hat Ceph Storage 6.1 security and bug fix update), 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-2023:3623