]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephfs: add doc for disabling mgr/volumes plugin 60496/head
authorRishabh Dave <ridave@redhat.com>
Sun, 28 Jul 2024 17:28:49 +0000 (22:58 +0530)
committerZac Dover <zac.dover@proton.me>
Fri, 25 Oct 2024 20:33:22 +0000 (06:33 +1000)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 373910de34fc9e1d98218aed0361cd9bf3badffa)

doc/cephfs/fs-volumes.rst
doc/cephfs/troubleshooting.rst

index 2a03361ddbb123056b7c7b8828c8f7c9237d354f..9f2b12965ceebec8afc8936b9ebfcaaf592d9c37 100644 (file)
@@ -1377,5 +1377,28 @@ set with this id was present in the database
 
   $ ceph fs quiesce fs1 sub1 sub2 sub3 --set-id="external-id" --if-version=0
 
+
+.. _disabling-volumes-plugin:
+
+Disabling Volumes Plugin
+------------------------
+By default the volumes plugin is enabled and set to ``always on``. However, in
+certain cases it might be appropriate to disable it. For example, when a CephFS
+is in a degraded state, the volumes plugin commands may accumulate in MGR
+instead of getting served. Which eventually causes policy throttles to kick in
+and the MGR becomes unresponsive.
+
+In this event, volumes plugin can be disabled even though it is an
+``always on`` module in MGR. To do so, run ``ceph mgr module disable volumes
+--yes-i-really-mean-it``. Do note that this command will disable operations
+and remove commands of volumes plugin since it will disable all CephFS
+services on the Ceph cluster accessed through this plugin.
+
+Before resorting to a measure as drastic as this, it is a good idea to try less
+drastic measures and then assess if the file system experience has improved due
+to it. One example of such less drastic measure is to disable asynchronous
+threads launched by volumes plugins for cloning and purging trash.
+
+
 .. _manila: https://github.com/openstack/manila
 .. _CSI: https://github.com/ceph/ceph-csi
index 34de1b7501df9f9031ac5b74b2c2f9a3cc7629b2..46befcad58298f6011099256f11a24ff9511207d 100644 (file)
@@ -407,6 +407,11 @@ its associated key. A less drastic but half-fix is to change the osd cap for
 your user to just ``caps osd = "allow rw"``  and delete ``tag cephfs
 data=....``
 
+Disabling Volumes Plugin
+========================
+In certain scenarios, volumes plugin might be needed to disabled to prevent compromise
+for rest of the Ceph cluster. For details see: :ref:`disabling-volumes-plugin`
+
 Reporting Issues
 ================