]> git.apps.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>
Thu, 25 Sep 2025 16:41:08 +0000 (22:11 +0530)
To prevent any type of config change (via mons, args, envvar, tell command) on the ceph-mgr from breaking the volume plugin.

Fixes: https://tracker.ceph.com/issues/71740
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
src/pybind/mgr/mgr_util.py

index 8574bf5f728a6b1a2a4e647829be2d1a6e6d2bc4..579c04b0063383910853b036eb3ad9e79c7c4c8c 100644 (file)
@@ -180,6 +180,8 @@ class CephfsConnectionPool(object):
             self.fs.conf_set("client_mount_gid", "0")
             self.fs.conf_set("client_check_pool_perm", "false")
             self.fs.conf_set("client_quota", "false")
+            self.fs.conf_set("client_respect_subvolume_snapshot_visibility",
+                             "false")
             logger.debug("CephFS initializing...")
             self.fs.init()
             logger.debug("CephFS mounting...")