Bug 1927847 - [cephadm] 5.0 - reconfig/redeploy of a entire service using ceph orch commands are accepting invalid parameters or service name
Summary: [cephadm] 5.0 - reconfig/redeploy of a entire service using ceph orch command...
Keywords:
Status: CLOSED DUPLICATE of bug 1909628
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 5.0
Assignee: Adam King
QA Contact: Vasishta
Karen Norteman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-11 16:38 UTC by Preethi
Modified: 2021-03-05 18:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-05 18:51:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi 2021-02-11 16:38:32 UTC
Description of problem:[cephadm] 5.0 - reconfig/redeploy of a entire service using ceph orch commands are accepting invalid parameters or service name


Version-Release number of selected component (if applicable):
[root@magna115 ~]# sudo cephadm version
Using recent ceph image registry.redhat.io/rhceph-alpha/rhceph-5-rhel8:latest
ceph version 16.0.0-7953.el8cp (aac7c5c7d5f82d2973c366730f65255afd66e515) pacific (dev)


How reproducible:


Steps to Reproduce:
1. Deploy 5.0 cluster with dashboard enabled
2. Enter into cephadm shell
3. Perform reconfig/redeploy of an service by passing invalid service name
4. observe the behaviour

Actual results:
ceph orch command for reconfig/redeploy accepts invalid inputs/parameters without throwing any error


Expected results:
Cmd should throw an error if service name specified is invalid

output snippet:

[ceph: root@magna115 /]# ceph orch reconfig
Invalid command: missing required parameter service_name(<string>)
orch start|stop|restart|redeploy|reconfig <service_name> :  Start, stop, restart, redeploy, or reconfig an entire service (i.e. all daemons)
Error EINVAL: invalid command
[ceph: root@magna115 /]# ceph orch reconfig 12345
[ceph: root@magna115 /]# ceph orch redeploy uuuuuu

Additional info:
magna115
root/q

Comment 1 Adam King 2021-02-17 22:15:30 UTC
upstream tracker issue: https://tracker.ceph.com/issues/49348
upstream fix PR: https://github.com/ceph/ceph/pull/39537

Comment 2 Adam King 2021-03-05 18:51:49 UTC

*** This bug has been marked as a duplicate of bug 1909628 ***


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