]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: add get_dependencies to smb service class
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 12 Mar 2026 22:42:51 +0000 (18:42 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 1 Apr 2026 15:11:32 +0000 (11:11 -0400)
commit7649cca55761b6c83a2e8c2b725b2ffb0ddc3173
tree99bc7d7e60a7db487f5b8d4d38d22788626170ce
parent70cf9641444570876aa1b0bccd7cecd70381ad49
mgr/cephadm: add get_dependencies to smb service class

Add a new get_dependencies method to the smb service class.
For now, the function returns one special dependency derived
from a hash digest of the external ceph cluster parameters,
to cause the service to be reloaded when these params change.
This approach is borrowed from a similar behavior of the nfs
service.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/cephadm/services/smb.py