]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: Reschedule nfs daemons from offline hosts
authorAdam King <adking@redhat.com>
Tue, 22 Mar 2022 22:57:21 +0000 (18:57 -0400)
committerAdam King <adking@redhat.com>
Tue, 3 May 2022 00:48:34 +0000 (20:48 -0400)
commit3ad9ea2c3038590f56b4bd049579f9c05aa6dfb2
tree038c99ee87aeadfc7a31ef44a142569d188c6f9f
parent903ccd6887c57e09a77b8f422c5c281d105cb3cc
mgr/cephadm: Reschedule nfs daemons from offline hosts

In order to improve nfs availability, if there are other
hosts we can place an nfs daemon on or if there is a host
with a lower rank nfs daemon when a higher rank one is on
an offline host, we should reschedule the nfs daemons

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 9febc21c14b7ad26e6d811444e7daf0b0a292afb)
src/pybind/mgr/cephadm/schedule.py
src/pybind/mgr/cephadm/tests/test_scheduling.py
src/pybind/mgr/cephadm/utils.py