]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: add --rm-crush-entry flag to host removal
authorAdam King <adking@redhat.com>
Fri, 29 Sep 2023 18:39:10 +0000 (14:39 -0400)
committerAdam King <adking@redhat.com>
Wed, 13 Mar 2024 14:36:29 +0000 (10:36 -0400)
commit389154a8f582ed02cd0bcb9b60b7f1bda3f2ae4f
tree0041ade51e6ca42512ee9d3944ed9360786f09b7
parentd6bd66b2d2299d93dad6475222c6d2af3f41fd8c
mgr/cephadm: add --rm-crush-entry flag to host removal

This will tell cephadm to try and remove the
crush bucket for the host at the end of the host
removal process. If this fails, we still consider the
host as having been successfully remove from
cephadm's POV, but the user will get back an error
message telling them we failed to remove the
host from the crush map

Fixes: https://tracker.ceph.com/issues/63031
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit fa0f62aa57755c45c713367620dc834530276b25)

Conflicts:
src/pybind/mgr/cephadm/module.py
src/cephadm/tests/test_cephadm.py
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/orchestrator/_interface.py
src/pybind/mgr/orchestrator/module.py
src/pybind/mgr/test_orchestrator/module.py