]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: also don't write client files/tuned profiles to maintenance hosts 53111/head
authorAdam King <adking@redhat.com>
Thu, 4 May 2023 16:55:55 +0000 (12:55 -0400)
committerAdam King <adking@redhat.com>
Wed, 23 Aug 2023 20:04:02 +0000 (16:04 -0400)
commit42a46833c4aab705a4b9eeca0da9a30cb5122970
tree2eacf529cd18a2722515d3733713ad8877bc0442
parent85d2a2eff44aa5030b6784e939b8d423e87669d4
mgr/cephadm: also don't write client files/tuned profiles to maintenance hosts

Since they could have been taken offline for maintenance,
they should be treated the same as offline hosts in this
case and we should avoid trying to write files to them

Fixes: https://tracker.ceph.com/issues/59650
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 4244d83f70abf4331a055dbeaa6fc2f0d7814bb6)
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/tests/test_cephadm.py
src/pybind/mgr/cephadm/tests/test_tuned_profiles.py
src/pybind/mgr/cephadm/tuned_profiles.py