From 20478025696b4ef39ca3e50c7cbfdb1250f85cfd Mon Sep 17 00:00:00 2001 From: Adam King Date: Mon, 5 Jun 2023 13:18:06 -0400 Subject: [PATCH] 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 --- src/python-common/ceph/deployment/drive_selection/selector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3