]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
python-common/drive_selection: lower log level of limit policy message
authorAdam King <adking@redhat.com>
Mon, 5 Jun 2023 17:18:06 +0000 (13:18 -0400)
committerAdam King <adking@redhat.com>
Wed, 23 Aug 2023 20:14:28 +0000 (16:14 -0400)
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 d6556dd2c0a557c73d231bf8147093f7dc44a401..302519002bf71bd9191424dfa8f0b2aedb483784 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