Skip to content

Commit 350c377

Browse files
committed
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 <[email protected]>
1 parent f70ee9e commit 350c377

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pybind/mgr/mgr_util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ def connect(self) -> None:
180180
self.fs.conf_set("client_mount_gid", "0")
181181
self.fs.conf_set("client_check_pool_perm", "false")
182182
self.fs.conf_set("client_quota", "false")
183+
self.fs.conf_set("client_respect_subvolume_snapshot_visibility",
184+
"false")
183185
logger.debug("CephFS initializing...")
184186
self.fs.init()
185187
logger.debug("CephFS mounting...")

0 commit comments

Comments
 (0)