]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: Disable quota for mgr libcephfs connection
authorKotresh HR <khiremat@redhat.com>
Fri, 18 Mar 2022 06:43:53 +0000 (12:13 +0530)
committerNikhilkumar Shelke <nshelke@redhat.com>
Wed, 22 Jun 2022 06:53:42 +0000 (12:23 +0530)
commitc9cb6a3f03e06402fefa34a5d1ff85f9e1d88c3f
tree01d082681b5669fc52f42eeda44c44fb5e9d73de
parent1e396102bcf2a9213aa5029ea84814684e4d4cc5
mgr/volumes: Disable quota for mgr libcephfs connection

This is done to give 'mgr' libcephfs connection right to bypass
quota. The mgr/volumes plugin maintains configuration files
with in the directory where the user has enforced quota. So
when the quota is met, certain mgr/volumes apis don't work as
intended. e.g., When subvolumegroup quota is met, the group's
subvolume removal with '--retain-snapshots' fails.

Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 3cfcbef284f371bfbec01311e6dad0172572fe9c)
src/pybind/mgr/mgr_util.py