From 38dacebad490bae3ba3d77abead36e8685fc458c Mon Sep 17 00:00:00 2001 From: Rakshith R Date: Tue, 21 Sep 2021 17:57:44 +0530 Subject: [PATCH] ceph: add workaround for Parallel RBD PVC Creation hangs on new pools This commit adds workaround for Parallel RBD PVC Creation hangs on new pools in ceph-csi-troubleshooting.md. Refer: #8696 Signed-off-by: Rakshith R --- Documentation/ceph-csi-troubleshooting.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/ceph-csi-troubleshooting.md b/Documentation/ceph-csi-troubleshooting.md index d27abee4feabf..dc254b130cf20 100644 --- a/Documentation/ceph-csi-troubleshooting.md +++ b/Documentation/ceph-csi-troubleshooting.md @@ -441,3 +441,13 @@ $ rbd ls --id=csi-rbd-node -m=10.111.136.166:6789 --key=AQDpIQhg+v83EhAAgLboWIbl ``` Where `-m` is one of the mon endpoints and the `--key` is the key used by the CSI driver for accessing the Ceph cluster. + +## Parallel RBD PVC creation hangs for new BlockPool + +This issue is specifically present in CephCSI `v3.4.x`, used by rook `>=v1.7.1` and occurs when multiple parallel PVCs creation requests are issued on a newly created blockpool. More details at https://github.com/rook/rook/issues/8696. Follow the steps below to workaround the issue: +* Delete the in-progress PVC create requests. +* Restart the csi-rbdplugin-provisioner-xxx pods. +`kubectl -n rook-ceph delete pods -l app=csi-rbdplugin-provisioner` + * Issue a single PVC create requests and wait till it goes to bound state. + * Or alternatively, call `rbd pool init ` from rook toolbox. +After following the above steps, multiple parallel PVC creation will work as expected. \ No newline at end of file