From: John Mulligan Date: Tue, 17 Jun 2025 19:09:07 +0000 (-0400) Subject: mgr/cephadm: pass bind_networks with other smb config blobs X-Git-Tag: testing/wip-vshankar-testing-20250730.064735-debug~23^2~3 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=414300201aa726e9ce88c7219ddb4dfd0daf8f62;p=ceph-ci.git mgr/cephadm: pass bind_networks with other smb config blobs Tell the cephadm binary deploying an smb service about the networks this smb service will be binding to. Signed-off-by: John Mulligan --- diff --git a/src/pybind/mgr/cephadm/services/smb.py b/src/pybind/mgr/cephadm/services/smb.py index edb49903891..e8d0388b10a 100644 --- a/src/pybind/mgr/cephadm/services/smb.py +++ b/src/pybind/mgr/cephadm/services/smb.py @@ -157,6 +157,8 @@ class SMBService(CephService): '', force_ceph_image=True ) config_blobs['service_ports'] = smb_spec.service_ports() + if smb_spec.bind_addrs: + config_blobs['bind_networks'] = smb_spec.bind_networks() logger.debug('smb generate_config: %r', config_blobs) self._configure_cluster_meta(smb_spec, daemon_spec)