]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: fix removing offline hosts with ingress daemons
authorAdam King <adking@redhat.com>
Sun, 22 Jan 2023 18:59:51 +0000 (13:59 -0500)
committerAdam King <adking@redhat.com>
Sun, 22 Jan 2023 18:59:51 +0000 (13:59 -0500)
commitd9624e066610e7c924b20d8fd8d99a84bf0eea84
tree9d78029aa0c6e4b4a474cae1f04255047c9503d6
parent919b244e5c5560f8b12e46bd2f681edee956b54c
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>
src/pybind/mgr/cephadm/module.py