]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: prevent switching between clustering modes 60281/head
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 11 Oct 2024 18:58:40 +0000 (14:58 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Sat, 12 Oct 2024 17:37:51 +0000 (13:37 -0400)
commitda89acdc850743db272d6dff5c73d2c9874f7076
treed9d84fbdcf34474c0936e1e235b9788fa48f0161
parent263c0f8e73071486ebb87f4dbdfdd4f440299008
mgr/smb: prevent switching between clustering modes

Prevent users from changing the cluster resource values such that a
cluster is changed from not using CTDB to using CTDB and vice versa.
This avoids complex situations that arise when making these sorts of
changes, in particular going from CTDB to non-CTDB which I am very sure
will mess up the tdb files.

Blocking these changes limits the need to test changing clustering
behavior on the fly. We can always revisit this in the future if needed.

Fixes: https://tracker.ceph.com/issues/68511
Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/handler.py