]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: fix removing offline hosts with ingress daemons 49850/head
authorAdam King <adking@redhat.com>
Sun, 22 Jan 2023 18:59:51 +0000 (13:59 -0500)
committerAdam King <adking@redhat.com>
Wed, 25 Jan 2023 00:05:36 +0000 (19:05 -0500)
commit276cc4f40a69f568198a6dab58f0ecd43f6d4754
treef74649f041c84317492a59a3a814e6f522003be6
parent22c2d68820ab09fd18a2b41e5a46b6e888789c40
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