]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: do not log unexpected uri scheme at warning level 62440/head
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 21 Mar 2025 17:09:01 +0000 (13:09 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Fri, 21 Mar 2025 17:09:01 +0000 (13:09 -0400)
Change the warning level for the unexpected uri scheme detected log
event when determining caps based off of the uri. The log gets triggered
by `rados:mon-config-key:*` type uris and those are common now so
the warning is just noise.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/cephadm/services/smb.py

index 9f6833462db7475cfc472d3451eabb7f99e8cd1b..6b5b132cd0f6021fb4535e30ba531897ec555440 100644 (file)
@@ -172,7 +172,7 @@ class SMBService(CephService):
 
     def _pool_caps_from_uri(self, uri: str) -> List[str]:
         if not uri.startswith('rados://'):
-            logger.warning("ignoring unexpected uri scheme: %r", uri)
+            logger.debug("ignoring unexpected uri scheme: %r", uri)
             return []
         part = uri[8:].rstrip('/')
         if part.count('/') > 1: