After upgrade, the resize capability is not working for the existing PV/PVC #935
Labels
bug
Something isn't working
component/deployment
Helm chart, kubernetes templates and configuration Issues/PRs
dependency/k8s
depends on Kubernetes features
Describe the bug
A clear and concise description of what the bug is.
After upgrade to ceph-csi 2.0.1, the resize feature only applies to a new PVC not the existing PVC.
Environment details
Steps to reproduce
Steps to reproduce the behavior:
Note: It could be an enhancement?
1). Deployed rook ceph 1.1.7
2). Upgrade rook ceph cluster to 1.2.7
3). Force replace the existing storage class with additional parameters: "allowVolumeExpansion: true
" and "csi.storage.k8s.io/controller-expand-secret-name: rook-csi-rbd-provisioner".
4). Try "resize" an existing PVC of a statefulset, the operation failed with below error in csi-resizer pod.
Note: For the newly created PVC
Actual results
Describe what happened
The size of PVC stays as the same.
Expected behavior
A clear and concise description of what you expected to happen.
The size of PVC should be changed to the requested size provided by "resize"
Additional context
Add any other context about the problem here.
For example:
Any existing bug report which describe about the similar issue/behavior
There're two existing similar problems.
#783
#923
The text was updated successfully, but these errors were encountered: