From 961fa85174217e847c3a2a59c23b35fa1ef2690e Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Wed, 21 Aug 2024 17:02:57 -0400 Subject: [PATCH] mgr/cephadm: pass public addresses for a cluster to cephadm binary Add the strictly-formed public addresses list as one of the config blobs we pass to the binary for smb container deployment. Signed-off-by: John Mulligan --- src/pybind/mgr/cephadm/services/smb.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pybind/mgr/cephadm/services/smb.py b/src/pybind/mgr/cephadm/services/smb.py index 7b6f7497bf1..da75136cdfb 100644 --- a/src/pybind/mgr/cephadm/services/smb.py +++ b/src/pybind/mgr/cephadm/services/smb.py @@ -70,6 +70,9 @@ class SMBService(CephService): config_blobs['cluster_meta_uri'] = smb_spec.cluster_meta_uri if smb_spec.cluster_lock_uri: config_blobs['cluster_lock_uri'] = smb_spec.cluster_lock_uri + cluster_public_addrs = smb_spec.strict_cluster_ip_specs() + if cluster_public_addrs: + config_blobs['cluster_public_addrs'] = cluster_public_addrs ceph_users = smb_spec.include_ceph_users or [] config_blobs.update( self._ceph_config_and_keyring_for( -- 2.39.5