DrFaust92 / terraform-kubernetes-ebs-csi-driver

Terraform module which creates Kubernetes EBS CSI controller resources on AWS EKS.
https://registry.terraform.io/modules/DrFaust92/ebs-csi-driver/kubernetes/latest
Other
31 stars 26 forks source link

didn't find a plugin capable of expanding the volume #64

Closed IGZangelcostales closed 2 years ago

IGZangelcostales commented 2 years ago

Everything has worked fine until I tried to resize a volume.

has it happened to you?

I got this error from the describe PVC object:

Warning  |  ExternalExpanding  |  volume_expand  |  Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC.

the logs from the ebs-csi-node pod:

node.go:351] NodeGetCapabilities: called with args {XXX_NoUnkeyedLiteral:{} XXX_unrecognized:[] XXX_sizecache:0}
node.go:351] NodeGetCapabilities: called with args {XXX_NoUnkeyedLiteral:{} XXX_unrecognized:[] XXX_sizecache:0}
node.go:351] NodeGetCapabilities: called with args {XXX_NoUnkeyedLiteral:{} XXX_unrecognized:[] XXX_sizecache:0}
...

This is from the ebs-csi-controller pod:

csi-provisioner I0325 14:27:05.262832       1 leaderelection.go:346] lock is held by ebs-csi-controller-5d9cf5f54-pnm4c and has not yet expired
csi-provisioner I0325 14:27:05.262855       1 leaderelection.go:248] failed to acquire lease kube-system/ebs-csi-aws-com
csi-attacher I0325 14:27:05.865604       1 leaderelection.go:346] lock is held by ebs-csi-controller-5d9cf5f54-pnm4c and has not yet expired
csi-attacher I0325 14:27:05.865627       1 leaderelection.go:248] failed to acquire lease kube-system/external-attacher-leader-ebs-csi-aws-com
csi-provisioner I0325 14:27:11.493232       1 leaderelection.go:346] lock is held by ebs-csi-controller-5d9cf5f54-pnm4c and has not yet expired
csi-provisioner I0325 14:27:11.493253       1 leaderelection.go:248] failed to acquire lease kube-system/ebs-csi-aws-com
csi-attacher I0325 14:27:14.565730       1 leaderelection.go:346] lock is held by ebs-csi-controller-5d9cf5f54-pnm4c and has not yet expired
csi-attacher I0325 14:27:14.565750       1 leaderelection.go:248] failed to acquire lease kube-system/external-attacher-leader-ebs-csi-aws-com
csi-provisioner I0325 14:27:16.933697       1 leaderelection.go:346] lock is held by ebs-csi-controller-5d9cf5f54-pnm4c and has not yet expired
csi-provisioner I0325 14:27:16.933718       1 leaderelection.go:248] failed to acquire lease kube-system/ebs-csi-aws-com

Thanks in advance.

IGZangelcostales commented 2 years ago

I install the official chart with latest version (2.6.4) also use the iam template from aws and works perfectly

DrFaust92 commented 2 years ago

Hi IGZangelcostales, ive update both IAM and K8s roles to align with official chart. please LMK if this helps

DrFaust92 commented 2 years ago

Closing, please open a new ticket if issue perisists