]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: osd replacement improvement 51215/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 31 Mar 2023 09:27:13 +0000 (11:27 +0200)
committerAdam King <adking@redhat.com>
Tue, 25 Apr 2023 17:44:15 +0000 (13:44 -0400)
commite36aada6ace17d26db9f7b6a60edf9af93d1cc66
tree663d05879fcb6e842264c49e8c82cfdfefd3e7c3
parent7d88421a1f9da089309945e86b6241dd488a71c3
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