cannot delete service by ceph orchestrator
Hi everybody! never seen this before and google stay silent. Just found the same question in 2021 but no answer there ((( so, by ceph orch ls I see: root@ceph1:~/ceph-rollout# ceph orch ls NAME PORTS RUNNING REFRESHED AGE PLACEMENT alertmanager ?:9093,9094 1/1 9m ago 6d count:1 ceph-exporter 10/10 9m ago 6d * crash 10/10 9m ago 6d * grafana ?:3000 1/1 9m ago 6d count:1 mgr 3/3 9m ago 6d ceph1;ceph6;ceph10;count:3 mon 3/3 9m ago 6d ceph1;ceph6;ceph10;count:3 node-exporter ?:9100 10/10 9m ago 6d * osd.osd_using_paths 108 9m ago - <unmanaged> prometheus ?:9095 3/3 9m ago 6d ceph1;ceph6;ceph10;count:3 And then ceph orch rm <service_name> root@ceph1:~/ceph-rollout# ceph orch rm osd.osd_using_paths Invalid service 'osd.osd_using_paths'. Use 'ceph orch ls' to list available services. cannot find it for some reason. In the same time root@ceph1:~/ceph-rollout# ceph orch ls --service_name osd.osd_using_paths --export service_type: osd service_id: osd_using_paths service_name: osd.osd_using_paths unmanaged: true spec: filter_logic: AND objectstore: bluestore Why does it happen? And how to delete this not needed service? Thanks in advance.
On 29.06.24 12:11, Alex from North wrote:
osd.osd_using_paths 108 9m ago - <unmanaged> prometheus ?:9095 3/3 9m ago 6d ceph1;ceph6;ceph10;count:3
And then ceph orch rm <service_name>
root@ceph1:~/ceph-rollout# ceph orch rm osd.osd_using_paths Invalid service 'osd.osd_using_paths'. Use 'ceph orch ls' to list available services.
cannot find it for some reason.
unmanaged: true
As long as there are OSDs that were created by a drivegroup specification you cannot really delete the service. It is set to unmanaged and therefor will not create any new OSDs. Regards -- Robert Sander Heinlein Consulting GmbH Schwedter Str. 8/9b, 10119 Berlin http://www.heinlein-support.de Tel: 030 / 405051-43 Fax: 030 / 405051-19 Zwangsangaben lt. §35a GmbHG: HRB 220009 B / Amtsgericht Berlin-Charlottenburg, Geschäftsführer: Peer Heinlein -- Sitz: Berlin
Ah! I guess I got it! So, once all OSDs (made by specification I'd like to delete) are gone - service will disappear as well, right?
participants (2)
-
Alex from North
-
Robert Sander