]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/smb: configure smb service for new remote control local feature
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 23 Feb 2026 17:24:04 +0000 (12:24 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 4 Mar 2026 17:45:59 +0000 (12:45 -0500)
Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/handler.py

index 66232d6466cf0a0949100e89a8c0354f2fa4e217..612d5b8b6d8b25a3bb359de37cb781ac1c77b8ac 100644 (file)
@@ -1015,7 +1015,8 @@ def _generate_smb_service_spec(
     if needs_proxy:
         features.append(_CEPHFS_PROXY)
     if cluster.remote_control_is_enabled:
-        features.append(_REMOTE_CONTROL)
+        assert cluster.remote_control is not None
+        features.extend(cluster.remote_control.enabled_features())
     # only one config uri can be used, the input list should be
     # ordered from lowest to highest priority and the highest priority
     # item that exists in the store will be used.