]> 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>
Fri, 3 Nov 2023 17:19:03 +0000 (13:19 -0400)
commitfa0f62aa57755c45c713367620dc834530276b25
treec5f513760027450f7273599d8a380df0ab50b257
parent165c8f32423da30a36083cfec5af01ee71436658
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>
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