kinvolk / lokomotive

🪦 DISCONTINUED Further Lokomotive development has been discontinued. Lokomotive is a 100% open-source, easy to use and secure Kubernetes distribution from the volks at Kinvolk
https://kinvolk.io/lokomotive-kubernetes/
Apache License 2.0
321 stars 49 forks source link

Revert "Merge pull request #1504 from kinvolk/surajssd/update-aws-csi-driver #1569

Closed ipochi closed 3 years ago

ipochi commented 3 years ago

This reverts commit 004294c2f8e0395f293199be0108f63a346919f7, reversing changes made to 9f67cb309b2f84ce8c06f2f289b4afd63f065759.

This is reverted due to flakiness/issue of aws-ebs-csi-driver on Kubernetes version 1.21.4.

ebs-plugin container panics due to not being able to query instance metadata:

W0909 10:57:15.342750       1 metadata.go:101] EC2 instance metadata is not available
panic: error getting information from metadata service or node object: node providerID empty, cannot parse

goroutine 1 [running]:
github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/driver.newNodeService(0xc00003a730, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/driver/node.go:88 +0x24c
github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/driver.NewDriver(0xc00050ff40, 0x7, 0x7, 0xc000078660, 0xc00032ec30, 0x1fded28)
    /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/driver/driver.go:94 +0x425
main.main()
    /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/cmd/main.go:46 +0x212