Bug 1909628 - [cephadm] 5.0 - No error messages are thrown when invalid syntax/parameters are passed for ceph orch start/stop/restart/reconfig/redeploy commands
Summary: [cephadm] 5.0 - No error messages are thrown when invalid syntax/parameters a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.0
Assignee: Adam King
QA Contact: Vasishta
Karen Norteman
URL:
Whiteboard:
: 1909629 1927847 1932495 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-21 08:33 UTC by Preethi
Modified: 2021-08-30 08:27 UTC (History)
5 users (show)

Fixed In Version: ceph-16.1.0-736.el8cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-30 08:27:34 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-1050 0 None None None 2021-08-27 05:14:54 UTC
Red Hat Product Errata RHBA-2021:3294 0 None None None 2021-08-30 08:27:46 UTC

Comment 1 Veera Raghava Reddy 2020-12-22 12:11:27 UTC
*** Bug 1909629 has been marked as a duplicate of this bug. ***

Comment 2 Adam King 2021-03-04 12:38:51 UTC
@Preethi do you think this is just the same as the this newer bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1927847) which was already addressed upstream (keep in mind orch stop|restart|reconfig|redeploy commands map to the same function). If so we can just mark this as duplicate (even though this bugzilla actually came first) and keep dicsussion of this bug in the other bugzilla.

Comment 3 Preethi 2021-03-05 16:42:08 UTC
@Adam, I have marked  (https://bugzilla.redhat.com/show_bug.cgi?id=1927847) is duplicate of this https://bugzilla.redhat.com/show_bug.cgi?id=1909628. Closed the other BZ.

Comment 4 Preethi 2021-03-05 16:45:47 UTC
@Adam, Issue is still seen in the latest builds of downstream.

[ceph: root@magna021 /]# ceph orch start ghhh
[ceph: root@magna021 /]# ceph orch redeploy 89899999
[ceph: root@magna021 /]# ceph orch reconfig 12345

Comment 5 Adam King 2021-03-05 18:51:48 UTC
*** Bug 1927847 has been marked as a duplicate of this bug. ***

Comment 6 Adam King 2021-03-05 18:57:38 UTC
(Reposting tracker and PR link from duplicate bug)
upstream tracker issue: https://tracker.ceph.com/issues/49348
upstream fix PR: https://github.com/ceph/ceph/pull/39537

@Preethi
While the fix has been merged upstream into master, it is still awaiting backport to Pacific. Once that happens and a new downstream image is built, then this should be fixed.

Backport is happening here: https://github.com/ceph/ceph/pull/39807

Comment 7 Juan Miguel Olmo 2021-03-08 13:08:10 UTC
*** Bug 1932495 has been marked as a duplicate of this bug. ***

Comment 8 Adam King 2021-03-18 13:34:30 UTC
Upstream fix was backported to Pacific on Match 10th. Once you have a downstream image built from March 11th onward this should hopefully be fixed.

Comment 9 Preethi 2021-03-18 18:03:10 UTC
@Adam, Issue is not seen with the latest builds. Below snippet of output: 

[ceph: root@magna057 /]# ceph orch start ghhh
Error EINVAL: No daemons exist under service name "ghhh". View currently running services using "ceph orch ls"
[ceph: root@magna057 /]# ceph orch redeploy 89899999
Error EINVAL: No daemons exist under service name "89899999". View currently running services using "ceph orch ls"
[ceph: root@magna057 /]# ceph orch reconfig 12345
Error EINVAL: No daemons exist under service name "12345". View currently running services using "ceph orch ls"
[ceph: root@magna057 /]# 

[root@magna057 ubuntu]# cephadm version
Using recent ceph image registry-proxy.engineering.redhat.com/rh-osbs/rhceph@sha256:5ed19ad179c6f915230a143718c906f5d8d7668ed04e21ced7c21a58a2777175
ceph version 16.1.0-736.el8cp (a45d35696b02c10722a5e887f7a59895a4868dfb) pacific (rc)
[root@magna057 ubuntu]#

Comment 12 errata-xmlrpc 2021-08-30 08:27:34 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 (Red Hat Ceph Storage 5.0 bug fix and enhancement), 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/RHBA-2021:3294


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