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
Volume expansion was implemented in Cinder CSI v1.16.0: https:/ /github. com/kubernetes/ cloud-provider- openstack/ commit/ 6202c6ada862a46 7c8098c7941d345 c859167409
We ship Cinder CSI v1.15.x: https:/ /github. com/charmed- kubernetes/ cdk-addons/ blob/c8361ec85a af54b386c3ce43d f3ed3b0539a903c /Makefile# L17
We have fallen behind and are aware of it. See further discussion here: https:/ /bugs.launchpad .net/cdk- addons/ +bug/1857044