]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/volumes: disable client_respect_subvolume_snapshot_visibility in CephfsConnection...
authorDhairya Parmar <dparmar@redhat.com>
Wed, 27 Aug 2025 10:58:31 +0000 (16:28 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Mon, 29 Sep 2025 08:41:29 +0000 (14:11 +0530)
To prevent any type of config change (via mons, args, envvar, tell command) on the ceph-mgr from breaking the volume plugin.

Conflicts:
fscrypt changes exist downstream 01a4d2a0356e5f66b7260dad7de70a5fa9cc3aa7 but not upstream,
hence a conflict and kept both changes.

Fixes: https://tracker.ceph.com/issues/71740
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit f8abcf3c3a0141a5c518382556dee42339879396)
Resolves: https://jsw.ibm.com/browse/ISCE-1465

src/pybind/mgr/mgr_util.py

index 939bd04f339dc53c3bb22903324fb5fc37fc5219..8385364e183b427ee3a76ec167e0d68984e4a3e0 100644 (file)
@@ -181,6 +181,8 @@ class CephfsConnectionPool(object):
             self.fs.conf_set("client_check_pool_perm", "false")
             self.fs.conf_set("client_quota", "false")
             self.fs.conf_set("client_fscrypt_as", "false")
+            self.fs.conf_set("client_respect_subvolume_snapshot_visibility",
+                             "false")
             logger.debug("CephFS initializing...")
             self.fs.init()
             logger.debug("CephFS mounting...")