]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: also don't write client files/tuned profiles to maintenance hosts 53705/head
authorAdam King <adking@redhat.com>
Thu, 4 May 2023 16:55:55 +0000 (12:55 -0400)
committerAdam King <adking@redhat.com>
Thu, 28 Sep 2023 02:05:36 +0000 (22:05 -0400)
commit343c29e024d84b97cb9ea412550ad53e32e7f220
tree04dc42c5ade6672e3c6c8998ff771aa2291a0bf3
parentf6b72b77aa71e3b60fdccb539c6aecba567de543
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