There is a chance that resizeing block volume PVCs (Persitent Volume Claim) resulting in the PV (Persistent Volume) getting the wrong size.
E.g. Increasing PVC from 50 Gi to 51 Gi, caused the PV to be 51 bytes
What you expected to happen?
Expected both PV and PVC to be 51 Gi after resizing
How to reproduce it (as minimally and precisely as possible)?
Create a PVC and pod, then wait for it to be ready
Is this a BUG REPORT or FEATURE REQUEST?
BUG REPORT
Versions
CCM Version: v1.27.2
Environment:
kubectl version
): 1.27.10uname -a
):What happened?
There is a chance that resizeing block volume PVCs (Persitent Volume Claim) resulting in the PV (Persistent Volume) getting the wrong size. E.g. Increasing PVC from 50 Gi to 51 Gi, caused the PV to be 51 bytes
What you expected to happen?
Expected both PV and PVC to be 51 Gi after resizing
How to reproduce it (as minimally and precisely as possible)?
Create a PVC and pod, then wait for it to be ready
Edit the PVC to increase the size
It does not always happen, but it seems to happen more often the more PVCs are resized at the same time.
Anything else we need to know?
The faulty PV can be fixed by adding Gi to the capacity and will work as expected after that. It is only the PV that is misconfigured