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: #8696

Signed-off-by: Rakshith R <rar@redhat.com>
  • Loading branch information
Rakshith-R committed Sep 27, 2021
1 parent 01bc8ab commit 6915485
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Documentation/ceph-csi-troubleshooting.md
Original file line number Diff line number Diff line change
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 uninitialized blockpool. Follow the steps below to workaround the issue:
* Execute `rbd pool init <pool_name>` command from [toolbox](./ceph-toolbox.md) or ceph-csi pods(similar to [this](#rbd-commands)).
* Restart the csi-rbdplugin-provisioner-xxx pods.

`kubectl -n rook-ceph delete pods -l app=csi-rbdplugin-provisioner`

After following the above steps, multiple parallel PVC creation will work as expected.

0 comments on commit 6915485

Please sign in to comment.