]> 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)
committervshankar <vshankar@redhat.com>
Fri, 16 Sep 2022 14:38:48 +0000 (14:38 +0000)
commit6412a01e2331848109e423fc5e430b0be1a4e842
tree03cbc1cd29498110b323a181c8f44d30a596c78f
parentebeb53ac8a46dfa7d1ff782e7c54ea83ee280858
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.

Resolves: rhbz#2033545
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