]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm/smb: add support for remote control sidecar
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 9 Jun 2025 17:18:49 +0000 (13:18 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 12 Aug 2025 14:24:49 +0000 (10:24 -0400)
commit4180cddc1a086ce2710405f91c0147b9d3f2fd2d
tree6e9838ba4b2b1489b9b3505b97278ff88462de5d
parent87f5a3d9a833244077cad01df92400a8b20368b9
cephadm/smb: add support for remote control sidecar

Add support for the remote control sidecar. The remote control server
is provided by the sambacc project. It is a small grpc server that
allows remote systems to get live information about connected clients
and disconnect clients or shares from the servers. The gRPC server
requires being run in mTLS mode to make changes.

Adding sidecar required adding a bunch of support for TLS/SSL certificate
management. I copied some of what other ceph containers do, like map
in a dedicated dir having certs. I expect some more stuff in the smb
daemon will require TLS support so I tried to make it a little more
generic than would be strictly needed by just this sidecar.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadmlib/daemons/smb.py