]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: lower log level when logging about related services
authorAdam King <adking@redhat.com>
Mon, 8 May 2023 14:11:24 +0000 (10:11 -0400)
committerAdam King <adking@redhat.com>
Sun, 21 May 2023 19:50:57 +0000 (15:50 -0400)
commitab0dc9da00a55a923e3af0691075ebec7f5b2295
tree387413814832111da1bebdf977b311e717385e7a
parent3da837be6533283af8a3c4079299ef0d010ea9a8
mgr/cephadm: lower log level when logging about related services

This was recently added in https://github.com/ceph/ceph/commit/088d2c4205c599a7d4f2ce4de8e2af8e129adac8
and seems to work fine, but logging these things at info
level spams the log as every single service every serve
loop iteration is reporting on whether it has related
daemons. This changes it to only log when it finds
related daemons or when it prefers a host due to those
related daemons, and do both of those at only debug level.

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 3693544e56b2480547c21575ab70ec2e67977b94)
src/pybind/mgr/cephadm/inventory.py
src/pybind/mgr/cephadm/schedule.py