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 21, 2021
1 parent 404dccd commit 6e516e4
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 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.
- 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 PVC creation will work as expected.

0 comments on commit 6e516e4

Please sign in to comment.