Skip to content

Commit

Permalink
ceph: add workaround for Parallel RBD PVC Creation hangs on new pools
Browse files Browse the repository at this point in the history
This commit adds workaround for Parallel RBD PVC Creation hangs on
new pools in ceph-csi-troubleshooting.md.

Refer: rook#8696

Signed-off-by: Rakshith R <rar@redhat.com>
  • Loading branch information
Rakshith-R committed Sep 22, 2021
1 parent 404dccd commit eadbe0f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Documentation/ceph-csi-troubleshooting.md
Expand Up @@ -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. 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 <pool_name>` from rook toolbox.
After following the above steps, multiple parallel PVC creation will work as expected.

0 comments on commit eadbe0f

Please sign in to comment.