]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: also don't write client files/tuned profiles to maintenance hosts
authorAdam King <adking@redhat.com>
Thu, 4 May 2023 16:55:55 +0000 (12:55 -0400)
committerAdam King <adking@redhat.com>
Thu, 4 May 2023 16:55:55 +0000 (12:55 -0400)
commit4244d83f70abf4331a055dbeaa6fc2f0d7814bb6
tree0b52d31f213e63517ab748704aba7a1d25795f80
parent55d3f5cfcd26936919e94607f96aa9001b8d1e73
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>
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