Thank you Eugen, it worked. For the record this is what I have done to remove the services completely. My CephFS had the name "testfs". * `ceph orch ls mds mds.testfs --export yaml >change.yaml` * removed the placement-spec from `change.yaml`. * reapplied using `cephadm shell -m change.yaml -- ceph orch apply -I /mnt/change.yaml` * removed daemons with `ceph orch daemon rm mds.testfs.<daemon-id>` for each daemon listed in `ceph orch ps | grep mds.testfs` * removed mds-set with `ceph orch rm mds.testfs` * remove auth using `ceph auth rm mds.testfs.<daemon-id>` for each daemon listed in `ceph auth ls | grep mds.testfs` Regards, Michael -----Ursprüngliche Nachricht----- Von: Eugen Block [mailto:eblock@xxxxxx] Gesendet: Montag, 14. Dezember 2020 11:06 An: ceph-users@xxxxxxx Betreff: Re: Removing an applied service set Do you have a spec file for the mds services or how did you deploy the services? If you have a yml file with the mds placement just remove the entries from that file and run 'ceph orch apply -i mds.yml'. You can export your current config with this command and then modify the file to your need: cephadm:~ # ceph orch ls mds mds.cephfs --export yaml service_type: mds service_id: cephfs service_name: mds.cephfs placement: hosts: - host5 - host6 Then if you apply the changes cephadm should not redeploy those deleted services. It's possible that you have to clean-up `ceph auth ls` and remove deleted mds keyrings. Also check `cephadm ls` on the mds nodes if the containers have been removed. Regards, Eugen Zitat von Michael Wodniok <wodniok@xxxxxxx>: > Hi, > > we created multiple CephFS, this invloved deploying mutliple > mds-services using `ceph orch apply mds [...]`. Worked like a charm. > > Now the filesystem has been removed and the leftovers of the > filesystem should also be removed, but I can't delete the services > as cephadm/orchestration module is recreating them. What is the > "official" way to delete this applied service set? Setting placement > size to 0 is not possible in Ceph 15. > > Kind regards, > Michael _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx