From: Adam King Date: Mon, 5 Jun 2023 17:18:06 +0000 (-0400) Subject: python-common/drive_selection: lower log level of limit policy message X-Git-Tag: v18.2.1~333^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6d62afae09edd73a704533cff4fdddaa8005461e;p=ceph-ci.git python-common/drive_selection: lower log level of limit policy message This gets logged every time cephadm tries to apply a relevant OSD spec and ends up spamming the logs. There's no reason we really need this to be at info rather than debug level, so let's lower it. Fixes: https://tracker.ceph.com/issues/61592 Signed-off-by: Adam King (cherry picked from commit 20478025696b4ef39ca3e50c7cbfdb1250f85cfd) --- diff --git a/src/python-common/ceph/deployment/drive_selection/selector.py b/src/python-common/ceph/deployment/drive_selection/selector.py index d6556dd2c0a..302519002bf 100644 --- a/src/python-common/ceph/deployment/drive_selection/selector.py +++ b/src/python-common/ceph/deployment/drive_selection/selector.py @@ -71,7 +71,7 @@ class DriveSelection(object): limit = device_filter.limit or 0 if limit > 0 and (len_devices + self.existing_daemons >= limit): - logger.info("Refuse to add {} due to limit policy of <{}>".format( + logger.debug("Refuse to add {} due to limit policy of <{}>".format( disk_path, limit)) return True return False