Bug 1966608 - [cephadm] incorrect information about usage of ceph orch osd rm
Summary: [cephadm] incorrect information about usage of ceph orch osd rm
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 5.2
Assignee: Guillaume Abrioux
QA Contact: Rajendra Khambadkar
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 1959686 2102272
TreeView+ depends on / blocked
 
Reported: 2021-06-01 13:47 UTC by Vasishta
Modified: 2022-08-09 17:36 UTC (History)
8 users (show)

Fixed In Version: ceph-16.2.8-2.el8cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-09 17:35:53 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 51043 0 None None None 2021-06-01 15:18:55 UTC
Github ceph ceph pull 41632 0 None Merged mgr/cephadm: fix errors in command <ceph orch osd> help and documentation 2022-05-31 12:28:31 UTC
Red Hat Product Errata RHSA-2022:5997 0 None None None 2022-08-09 17:36:25 UTC

Description Vasishta 2021-06-01 13:47:19 UTC
Description of problem:
incorrect information about usage of ceph orch osd rm
Message says that user needs to provide svc_id, it should be osd_id

Version-Release number of selected component (if applicable):
16.2.0-40.el8cp

How reproducible:
Always

Steps to Reproduce:
1. Configure 5.x cluster 
2. Try looking a help message of ceph orch osd rm

Actual results:
[ceph: root@ceph-vasishta-1621437054384-node1-mon-mgr-osd-installer /]# ceph orch osd rm    
Invalid command: saw 0 of svc_id(<string>)..., expected at least 1
orch osd rm <svc_id>... [--replace] [--force] :  Remove OSD services


Expected results:
Users needs to be asked to provide osd_id

Additional info:

Comment 3 Juan Miguel Olmo 2021-06-21 07:23:05 UTC
Doc text: LGTM

Comment 5 Redouane Kachach Elhichou 2022-05-31 11:18:13 UTC
This issue was fixed by the PR https://github.com/ceph/ceph/pull/41632

Comment 14 errata-xmlrpc 2022-08-09 17:35:53 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 Security, Bug Fix, and Enhancement 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-2022:5997


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