From: John Mulligan Date: Wed, 25 Feb 2026 00:20:22 +0000 (-0500) Subject: python-common/deployment: add new tunables param to smb service spec X-Git-Tag: v21.0.0~145^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=997db839c93bbe68d66dac452af513573f2326cf;p=ceph.git python-common/deployment: add new tunables param to smb service spec The tunables parameter will serve as a general configuration namespace for small configuration adjustments that don't deserve their own full blown config sections. Keys should be namespaced by "topic" in order to avoid future conflicts. Initially, this will be used for passing the ctdb debug level. Signed-off-by: John Mulligan --- diff --git a/src/python-common/ceph/deployment/service_spec.py b/src/python-common/ceph/deployment/service_spec.py index e0400e4b0b3d..ab96ea4e2819 100644 --- a/src/python-common/ceph/deployment/service_spec.py +++ b/src/python-common/ceph/deployment/service_spec.py @@ -3837,6 +3837,9 @@ class SMBSpec(ServiceSpec): # typically external to the current cluster that the smb services # may be permitted to connect to ceph_cluster_configs: Optional[List[SMBExternalCephCluster]] = None, + # tunables - fine grained options/overrides to be used when deploying + # smb services + tunables: Optional[Dict[str, str]] = None, # --- general tweaks --- extra_container_args: Optional[GeneralArgList] = None, extra_entrypoint_args: Optional[GeneralArgList] = None, @@ -3877,6 +3880,7 @@ class SMBSpec(ServiceSpec): self.ceph_cluster_configs = SMBExternalCephCluster.convert_list( ceph_cluster_configs ) + self.tunables = tunables or {} self.validate() def validate(self) -> None: