]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: plumb force_delete_data through daemon/service removal 68428/head
authorRedouane Kachach <rkachach@ibm.com>
Wed, 3 Dec 2025 08:28:08 +0000 (09:28 +0100)
committerKobi Ginon <kginon@redhat.com>
Mon, 27 Apr 2026 11:00:00 +0000 (14:00 +0300)
commit8499124ada51858d788387bcf7c24178368aa95d
tree36b2533844c67f28b6d53ed2c4d0d1aec3648b23
parentf9c14ff8574e5f08dad82cd9eedd2b9b52567bf0
mgr/cephadm: plumb force_delete_data through daemon/service removal

This PR wires the `force_delete_data` already existing flag in the
binary through cephadm’s daemon and service removal paths, so that
commands such as `ceph orch rm service` or equivalent daemon removal
can explicitly ask for data deletion instead of the default "move
under <fsid>/removed/" for daemons such as Prometheus, osd and mon.

Fixes: https://tracker.ceph.com/issues/74058
Signed-off-by: Kobi Ginon <kginon@redhat.com>
doc/cephadm/services/index.rst
doc/cephadm/services/monitoring.rst
doc/mgr/orchestrator.rst
src/pybind/mgr/cephadm/inventory.py
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/tests/test_cephadm.py
src/pybind/mgr/orchestrator/_interface.py
src/pybind/mgr/orchestrator/module.py