Documentation #46082
closedcephadm: deleting (mds) service doesn't work?
0%
Description
root@reesi001:~# ceph orch ps | grep mds mds.ceph-packaging.mira093.xgafwr mira093 running (46m) 7m ago 46m 15.2.2-70-g112174a7bb quay.io/ceph-ci/ceph:4f6be8347b27f79389f3829602246cd31102d829 0ec7f4224c37 1e5fc6168174 mds.ceph-packaging.reesi003.yqhopf reesi003 running (46m) 51s ago 46m 15.2.2-70-g112174a7bb quay.io/ceph-ci/ceph:4f6be8347b27f79389f3829602246cd31102d829 0ec7f4224c37 a25e2235a979 mds.cephfs.reesi001.umftpx reesi001 running (2w) 109s ago 3M 15.2.2-70-g112174a7bb quay.io/ceph-ci/ceph:4f6be8347b27f79389f3829602246cd31102d829 0ec7f4224c37 2bfc46944d16 mds.cephfs.reesi002.euduff reesi002 running (2w) 80s ago 3M 15.2.2-70-g112174a7bb quay.io/ceph-ci/ceph:4f6be8347b27f79389f3829602246cd31102d829 0ec7f4224c37 5f7ab3a4a3ba mds.cephfs.reesi003.ewoftc reesi003 running (2w) 51s ago 3M 15.2.2-70-g112174a7bb quay.io/ceph-ci/ceph:4f6be8347b27f79389f3829602246cd31102d829 0ec7f4224c37 36ecdd2985f2 mds.cephfs.reesi006.bfgphx reesi006 running (2w) 12m ago 3M 15.2.2-70-g112174a7bb quay.io/ceph-ci/ceph:4f6be8347b27f79389f3829602246cd31102d829 0ec7f4224c37 9ae15a725faf mds.chacra.mira060.kiquch mira060 running (7m) 7m ago 7m 15.2.2-70-g112174a7bb quay.io/ceph-ci/ceph:4f6be8347b27f79389f3829602246cd31102d829 0ec7f4224c37 928eb056fea4 mds.chacra.mira093.ijrdjh mira093 running (7m) 7m ago 7m 15.2.2-70-g112174a7bb quay.io/ceph-ci/ceph:4f6be8347b27f79389f3829602246cd31102d829 0ec7f4224c37 3e848adf27d7 mds.quay-registry.mira093.dnelzp mira093 running (47m) 7m ago 47m 15.2.2-70-g112174a7bb quay.io/ceph-ci/ceph:4f6be8347b27f79389f3829602246cd31102d829 0ec7f4224c37 cafb067d3945 mds.quay-registry.reesi002.zgyffj reesi002 running (47m) 80s ago 47m 15.2.2-70-g112174a7bb quay.io/ceph-ci/ceph:4f6be8347b27f79389f3829602246cd31102d829 0ec7f4224c37 2c3c059e3fcf root@reesi001:~# ceph orch rm mds.ceph-packaging.mira093.xgafwr Failed to remove service. <mds.ceph-packaging.mira093.xgafwr> was not found.
From LRC.
Updated by Michael Fritch almost 4 years ago
I think there is some confusion on the `orch` cli commands.
`orch ps` will list the cephadm daemons, whereas `orch ls` should be used to list the cephadm services.
In this case `mds.ceph-packaging.mira093.xgafwr` is a daemon name where the `orch rm` command wants a service name.
To remove a service (and all daemons associated with the service):
$ ceph orch rm mds.ceph-packaging
To only remove a single daemon, you'd need to set the service to `unmanaged`:
$ ceph orch apply mds ceph-packaging --unmanaged $ ceph orch daemon rm mds.ceph-packaging.mira093.xgafwr
Updated by Patrick Donnelly almost 4 years ago
- Tracker changed from Bug to Documentation
Michael Fritch wrote:
I think there is some confusion on the `orch` cli commands.
`orch ps` will list the cephadm daemons, whereas `orch ls` should be used to list the cephadm services.
In this case `mds.ceph-packaging.mira093.xgafwr` is a daemon name where the `orch rm` command wants a service name.
To remove a service (and all daemons associated with the service):
[...]To only remove a single daemon, you'd need to set the service to `unmanaged`:
[...]
Thanks for the explanation. It seems cephadm eventually cleaned them up in any case.
I'll convert this to a Documentation ticket.
Updated by Sebastian Wagner almost 4 years ago
- Priority changed from Urgent to High
Updated by Sebastian Wagner about 3 years ago
- Priority changed from High to Normal
Updated by Sebastian Wagner about 3 years ago
- Status changed from New to Can't reproduce