]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: don't return hosts in offline_hosts set as schedulable
authorAdam King <adking@redhat.com>
Mon, 19 Jul 2021 16:19:15 +0000 (12:19 -0400)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 10 Aug 2021 14:32:17 +0000 (16:32 +0200)
commita40d52334f905edb99be61a31f712c037b8e374c
treea7e24fb8f2701d9c84a5d3a1289e1c08f9ed1f93
parentd2df9d3f744016bbc8f62249eb9a3fa7c100831b
mgr/cephadm: don't return hosts in offline_hosts set as schedulable

we are only checking for host status here but we
should also be checking the offline_hosts set

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit d87f1ec841f63a9d7bd52e03461b04d8c6273a94)
src/pybind/mgr/cephadm/module.py