]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerKotresh HR <khiremat@redhat.com>
Mon, 6 Jun 2022 07:10:46 +0000 (12:40 +0530)
commit3cfcbef284f371bfbec01311e6dad0172572fe9c
tree23880dc2141658e2c52031582d749f3408045b4e
parentf365a9a5fe465b5d5cc81e5d4dd136bd8989cc20
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>
src/pybind/mgr/mgr_util.py