]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: fix removing offline hosts with ingress daemons 49926/head
authorAdam King <adking@redhat.com>
Sun, 22 Jan 2023 18:59:51 +0000 (13:59 -0500)
committerAdam King <adking@redhat.com>
Mon, 30 Jan 2023 23:29:13 +0000 (18:29 -0500)
commitc187059d5db3dc5f8518fe3e50022d4204148b0e
tree17b55a4b1f26f5c2c460843b8861cd7f229dade7
parent529acda03fc93e2e9c3f054b190d9c3965bdf724
mgr/cephadm: fix removing offline hosts with ingress daemons

We need to convert the daemon type to service type here
or we'll try to access the "haproxy" or "keepalived" index
of the cephadm_services dictionary, which doesn't have those
keys (but does have an "ingress" key)

Fixes: https://tracker.ceph.com/issues/58537
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit d9624e066610e7c924b20d8fd8d99a84bf0eea84)
src/pybind/mgr/cephadm/module.py