When osd is full, checking pool permission causes
mgr to hang. Hence disabling it.
Fixes: https://tracker.ceph.com/issues/50532
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit
d95655cc4879c0e3e6edb0edd6e4114c1bdfc226)
logger.debug("Setting user ID and group ID of CephFS mount as root...")
self.fs.conf_set("client_mount_uid", "0")
self.fs.conf_set("client_mount_gid", "0")
+ self.fs.conf_set("client_check_pool_perm", "false")
logger.debug("CephFS initializing...")
self.fs.init()
logger.debug("CephFS mounting...")
fs = cephfs.LibCephFS(rados_inst=cluster)
fs.conf_set("client_mount_uid", "0")
fs.conf_set("client_mount_gid", "0")
+ fs.conf_set("client_check_pool_perm", "false")
log.debug('CephFS initializing...')
fs.init()
log.debug('CephFS mounting...')