]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephfs: add doc for disabling mgr/volumes plugin
authorRishabh Dave <ridave@redhat.com>
Sun, 28 Jul 2024 17:28:49 +0000 (22:58 +0530)
committerRishabh Dave <ridave@redhat.com>
Sat, 19 Oct 2024 11:27:16 +0000 (16:57 +0530)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
doc/cephfs/fs-volumes.rst
doc/cephfs/troubleshooting.rst

index 4a5b5232738d29e5e09da3e1aa7b9e9210b559c3..34cb7917d1b38370a070fbac6f83550c7215fd14 100644 (file)
@@ -1419,5 +1419,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 78d0a8f54d3365a7db9b432e99d417c5f57c5b29..582daa103384fc678988c7f9b8293d20731905c8 100644 (file)
@@ -412,6 +412,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
 ================