]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: osd replacement improvement 51213/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:00:46 +0000 (13:00 -0400)
commitd1d832fcd436c9b6e10b5fc1a0e1bb10f65d4ff5
tree23a9e92d7e998bd880f033738118a9fa5775d4cc
parenta5e8403e31e1671ad2440e586afa71e48583eba7
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