Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS EBS CSI Driver not working after installing with kubespray 2.14.0+ #6770

Closed
rafal-jan opened this issue Sep 30, 2020 · 2 comments · Fixed by #6776
Closed

AWS EBS CSI Driver not working after installing with kubespray 2.14.0+ #6770

rafal-jan opened this issue Sep 30, 2020 · 2 comments · Fixed by #6776
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@rafal-jan
Copy link
Contributor

Environment:

  • Cloud provider or hardware configuration: AWS

Kubespray version: 2.14.1

Anything else do we need to know:
The cluster.yml playbook executed successfully, but pods from ebs-csi-controller deployment were in CrashLoopBackOff status. The problem is with csi-snapshotter container:

# kubectl logs -n kube-system ebs-csi-controller-bd7fdfdd8-dqp84 csi-snapshotter
flag provided but not defined: -connection-timeout
Usage of /csi-snapshotter:
...

After some investigation I have found out that the --connection-timeout flag has been deprecated in release 1.1.0 of kubernetes-csi/external-snapshotter and removed in release 2.0.0. The version of csi-snapshotter was updated from 1.2.0 to 2.1.1 in Kubespray 2.14.0. The flag does not exist in the new csi-snapshotter but remained in the Kubespray yamls https://github.com/kubernetes-sigs/kubespray/blob/v2.14.1/roles/kubernetes-apps/csi_driver/aws_ebs/templates/aws-ebs-csi-controllerservice.yml.j2#L92.

@rafal-jan rafal-jan added the kind/bug Categorizes issue or PR as related to a bug. label Sep 30, 2020
@floryut
Copy link
Member

floryut commented Sep 30, 2020

@rafal-jan thank you for the issue, care to make a PR ? :)

@rafal-jan
Copy link
Contributor Author

@floryut sure, but right now I am experiencing issues related to upgrade of csi-attacher (similar to #6358 (comment)). I will create a PR once the CSI driver is fully working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants