Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1944576

Summary: ceph orch stop mds.<service_name> is not working
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Hemanth Kumar <hyelloji>
Component: CephadmAssignee: Juan Miguel Olmo <jolmomar>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: high Docs Contact: Karen Norteman <knortema>
Priority: high    
Version: 5.0CC: kdreyer, sewagner, tserlin, vereddy
Target Milestone: ---   
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.0-8.el8cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:29:31 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:
Attachments:
Description Flags
mgr logs none

Comment 1 Juan Miguel Olmo 2021-03-30 09:28:40 UTC
have you tried to stop the service using the name of the service instead "*"?

Comment 2 Hemanth Kumar 2021-03-30 10:44:31 UTC
@Juan

I have tried with the proper service name itself. Please refer the description.

Comment 3 Ken Dreyer (Red Hat) 2021-03-31 20:34:23 UTC
Is this still broken on this week's build (ceph-16.1.0-1324.el8cp)? That ceph-16.1.0-486.el8cp build is a month old.

Comment 4 Juan Miguel Olmo 2021-04-06 11:56:04 UTC
Hemanth: Please can you verify if the problem still exist?

Please provide the otuput of the commands:
# ceph orch ls 
and 
# ceph  orch ps


If you find the problem , please attach the mgr log.

Comment 6 Hemanth Kumar 2021-04-14 13:14:43 UTC
Created attachment 1771901 [details]
mgr logs

Comment 7 Juan Miguel Olmo 2021-04-14 13:26:08 UTC
@Hemanth: if you want to stop a daemon, you need to use:

ceph orch daemon stop <name_of_the_daemon>

not 

ceph orch stop <name_of_the _daemon> which is used to stop a service (all the daemons included in the service) and need to use a service name ( the error provided in the output of the command is telling you that)

So in your case:

In order to stop the daemon, execute:

# ceph orch daemon stop mds.cephfs.magna025.keezeq

In order to stop all the daemons of the service execute:

# ceph orch stop mds.cephfs

Comment 11 errata-xmlrpc 2021-08-30 08:29:31 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