Cinder CSI volume expansion is not supported

Bug #1860514 reported by Natalia Litvinova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CDK Addons
Fix Released
Undecided
Unassigned

Bug Description

I followed this instruction: https://ubuntu.com/kubernetes/docs/openstack-integration
and deployed k8s bundle with openstack-integrator overlay. The only difference between my bundle and standard charmed k8s bundle is that I used docker instead of containerd. (https://paste.ubuntu.com/p/HjDS7p5zMP/).
Then I created a sc, pvc and pod: https://paste.ubuntu.com/p/KPgPQ8GSBh/.
After running `kubectl edit pvc csi-pvc-cinderplugin` I edited the size of the volume and set it to 4Gi, but nothing happened with the volume. Event message shows: "Warning ExternalExpanding 94s (x2 over 10h) volume_expand Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC." and volume yaml has 6Gi storage in spec, but 2Gi in status.

Deploying k8s with no integrator overlay and configuring it manually as shown here https://github.com/kubernetes/cloud-provider-openstack/blob/master/docs/using-cinder-csi-plugin.md enabled volume expansion feature. And after "Warning ExternalExpanding 82s volume_expand Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC."
I eventually got "Normal FileSystemResizeRequired 80s (x2 over 17h) external-resizer cinder.csi.openstack.org Require file system resize of volume on node
Normal FileSystemResizeSuccessful 29s kubelet, juju-e1cdb5-k8s-no-integrator-7 MountVolume.NodeExpandVolume succeeded for volume pvc-fb686726-29bd-4cf0-99e8-5628d8196cd9"

K8s version: 1.17.1
Cinder CSI version: 1.1.0

description: updated
Revision history for this message
George Kraft (cynerva) wrote :
Changed in cdk-addons:
status: New → Confirmed
no longer affects: charm-openstack-integrator
Revision history for this message
Cory Johns (johnsca) wrote :

This was fixed in PR #167 which was released with 1.18. This bug didn't get updated because it wasn't targeted to the 1.18 milestone.

https://github.com/charmed-kubernetes/cdk-addons/pull/167

Changed in cdk-addons:
status: Confirmed → Fix Released
George Kraft (cynerva)
Changed in cdk-addons:
milestone: none → 1.18
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.