]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: osd replacement improvement 50838/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 31 Mar 2023 09:27:13 +0000 (11:27 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Fri, 14 Apr 2023 12:53:44 +0000 (14:53 +0200)
commitef810a4ebf91b538f778da4ca3ea0fdc2968e2fe
tree166630b2c0121b7780deaabe8f93e8202aa850c7
parent66552a560f8f993d9dd2f5994333051b1467ea4c
cephadm: osd replacement improvement

This adds a new parameter `--no-destroy` to the command
`ceph orch osd rm`.

By default, it removes any VGs/LVs related to the osd being removed.
For specific workflows, this can be useful to preserve them.

Fixes: https://tracker.ceph.com/issues/59289
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/services/osd.py
src/pybind/mgr/orchestrator/_interface.py
src/pybind/mgr/orchestrator/module.py
src/pybind/mgr/rook/module.py