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: v17.2.8~492^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2c8f6c8d19751e6ae58e85028ee729a9695fcdb5;p=ceph.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 0753fe487382..1b3bfbb4ee3c 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