]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: Reschedule nfs daemons from offline hosts 44343/head
authorAdam King <adking@redhat.com>
Tue, 22 Mar 2022 22:57:21 +0000 (18:57 -0400)
committerAdam King <adking@redhat.com>
Tue, 22 Mar 2022 22:57:21 +0000 (18:57 -0400)
commit9febc21c14b7ad26e6d811444e7daf0b0a292afb
treed737b6897bf0f0a936aad45bddf85919542eb67c
parent73f8d0fdcdb73cf4a910b21fc4ceace2b74dffc8
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>
src/pybind/mgr/cephadm/schedule.py
src/pybind/mgr/cephadm/tests/test_scheduling.py
src/pybind/mgr/cephadm/utils.py