From: Dhairya Parmar Date: Wed, 27 Aug 2025 10:58:31 +0000 (+0530) Subject: mgr/volumes: disable client_respect_subvolume_snapshot_visibility in CephfsConnection... X-Git-Tag: v21.0.0~157^2~13^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=350c377070dc835d4003cf9d7ac83c53fe18d003;p=ceph.git mgr/volumes: disable client_respect_subvolume_snapshot_visibility in CephfsConnectionPool::connect 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 --- diff --git a/src/pybind/mgr/mgr_util.py b/src/pybind/mgr/mgr_util.py index 8574bf5f728a..579c04b00633 100644 --- a/src/pybind/mgr/mgr_util.py +++ b/src/pybind/mgr/mgr_util.py @@ -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...")