]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: set maintenance mode healthcheck when removing hosts
authorAdam King <adking@redhat.com>
Wed, 2 Oct 2024 14:59:00 +0000 (10:59 -0400)
committerAdam King <adking@redhat.com>
Wed, 16 Oct 2024 17:52:27 +0000 (13:52 -0400)
commiteaad13485b8a426d028d00c042e27a4db5f4e2a4
treeed3ddfe175b10b1804380b4c2077c0cf3fe1cb44
parent202c8358361958b9964129f06377679d01584404
mgr/cephadm: set maintenance mode healthcheck when removing hosts

This is to handle the case where a host is removed from
cephadm management using the --force flag while the host
is in maintenance mode. Without this addition the health
warning about the host being in maintenance mode would
persist despite the host no longer being tracked by cephadm

Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/tests/test_cephadm.py