]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: osd replacement improvement 51191/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 31 Mar 2023 09:27:13 +0000 (11:27 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Mon, 24 Apr 2023 08:43:38 +0000 (10:43 +0200)
commit44b9953252595a8ae5806e4cee52543ce432db76
treefec1bc219a85cebb36f8054290246b8fcb95fcb7
parent58a417695002d3ad89cfd7fce0e3445a8b02412c
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>
(cherry picked from commit ef810a4ebf91b538f778da4ca3ea0fdc2968e2fe)
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