]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: add an SMB daemon module and classes
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 6 Dec 2023 20:14:31 +0000 (15:14 -0500)
committerAdam King <adking@redhat.com>
Mon, 15 Apr 2024 15:01:29 +0000 (11:01 -0400)
Add an incomplete but largely viable SMB/Samba container daemon form
implementation to cephadm. Currently unused but it lays out some of the
basics needed to create smb sharing using samba containers under cephadm
orchestration.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 0169fd945e7a1d5ea9dc3969e257cd0ecce0c1c6)

src/cephadm/cephadm.py

index eccb330fda9077437d6308348e67dadc3d505ccd..497bb06dadca191448127bfbf5a9f6271618eb2f 100755 (executable)
@@ -173,6 +173,7 @@ from cephadmlib.daemons import (
     Keepalived,
     Monitoring,
     NFSGanesha,
+    SMB,
     SNMPGateway,
     Tracing,
     NodeProxy,
@@ -227,6 +228,7 @@ def get_supported_daemons():
     supported_daemons.append(SNMPGateway.daemon_type)
     supported_daemons.extend(Tracing.components)
     supported_daemons.append(NodeProxy.daemon_type)
+    supported_daemons.append(SMB.daemon_type)
     assert len(supported_daemons) == len(set(supported_daemons))
     return supported_daemons