Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
OCP 3.10 - Local volume not allocated to a claim. #21108
[provide a description of the issue]
The local volumes created by the provisioner are not being allocated to a claim.
Steps To Reproduce
Claims stuck in Pending state.
All claims allocated a persistent volume.
Found the cause. Which I suspect is a defect.
What I found was the PVC and PV were never successfully associated by Openshift. The status of the PVC/PV was never updated to Bound.
The workaround for me was to re-create the same PVC with a smaller size. Adjusting it from 1014Mi to 500Mi size.
After doing that the PVC and PV were associated and the status of both set to Bound.
@jsafrane here is the pv that is Bound and it has the size 1014Mi. Identical to the initial claim size that failed.
What's interesting is the pv claim. Dumping out that claim you see the storage size as 1014Mi not the 500Mi specified in the workaround.