From: John Mulligan Date: Wed, 25 Feb 2026 00:21:45 +0000 (-0500) Subject: cephadm: fetch ctdb log level from tunables dict X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5b9ea74197096a22dd9c439fa115eba0b8aa14bf;p=ceph.git cephadm: fetch ctdb log level from tunables dict We had a config param for ctdb log level for a while but never populated it from a user-input-derived value until now. Signed-off-by: John Mulligan --- diff --git a/src/cephadm/cephadmlib/daemons/smb.py b/src/cephadm/cephadmlib/daemons/smb.py index a7900a154f2..6824df00164 100644 --- a/src/cephadm/cephadmlib/daemons/smb.py +++ b/src/cephadm/cephadmlib/daemons/smb.py @@ -614,6 +614,7 @@ class SMB(ContainerDaemonForm): cluster_lock_uri = configs.get('cluster_lock_uri', '') cluster_public_addrs = configs.get('cluster_public_addrs', []) bind_networks = configs.get('bind_networks', []) + tunables = configs.get('tunables', {}) if not instance_id: raise Error('invalid instance (cluster) id') @@ -682,6 +683,7 @@ class SMB(ContainerDaemonForm): proxy_image=proxy_image, bind_to=self._network_mapper.bind_interfaces(bind_networks), remote_control=remote_control_cfg, + ctdb_log_level=tunables.get('log_level.ctdb', ''), ) logger.debug('SMB Instance Config: %s', self._instance_cfg) logger.debug('Configured files: %s', self._files)