]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: enable the smb service to prevent stray ctdb services
authorJohn Mulligan <phlogistonjohn@asynchrono.us>
Mon, 12 Aug 2024 14:56:51 +0000 (10:56 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 20 Aug 2024 13:53:57 +0000 (09:53 -0400)
commit19e854cf367a35f15f0aaa9e5e2e3926009c51a2
tree686c1bfbe39d724101c937eb7344f672605d9ab3
parent33e1b119569249030b6b1a78b0a1d5b9bbc0e3a3
mgr/cephadm: enable the smb service to prevent stray ctdb services

Tell cephadm that any `ctdb` services are "owned" by the smb service
and should be ignored as not a stray.
Ideally, we do this on a per service basis but the info that the ctdb
lock helper provides to its registration function is pretty generic.
Future versions of samba may improve upon this.

Signed-off-by: John Mulligan <phlogistonjohn@asynchrono.us>
src/pybind/mgr/cephadm/services/smb.py