]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
python-common/drive_selection: lower log level of limit policy message 55961/head
authorAdam King <adking@redhat.com>
Mon, 5 Jun 2023 17:18:06 +0000 (13:18 -0400)
committerAdam King <adking@redhat.com>
Tue, 5 Mar 2024 14:54:47 +0000 (09:54 -0500)
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 <adking@redhat.com>
(cherry picked from commit 20478025696b4ef39ca3e50c7cbfdb1250f85cfd)

src/python-common/ceph/deployment/drive_selection/selector.py

index 0753fe4873823467c92a551d35daaffa9d4a8574..1b3bfbb4ee3c5772bb61a9d6cd502b83b49d1e28 100644 (file)
@@ -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