-
Notifications
You must be signed in to change notification settings - Fork 807
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
Rebase 1.21 #828
Rebase 1.21 #828
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jsafrane The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
travis fail:
you can pick up this change in my pr to fix it: f0489b3#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485 (my pr to go to 1.20 took so long, and you are already doing 1.21 🤦 i will rebase my PR on yours, thank you.) |
Pull Request Test Coverage Report for Build 1839
💛 - Coveralls |
900a8e5
to
a604055
Compare
…r client to v4, go to 1.16
here is the issue : Apr 15 12:13:10.769: INFO: At 2021-04-15 12:08:10 +0000 UTC - event for pvc-dr4t4: {ebs.csi.aws.com_ebs-csi-controller-55f457484f-f8kjb_1645b834-1bc4-405c-9794-4357cdd21ab5 } ProvisioningFailed: failed to provision volume with StorageClass "topology-62099z2rm": failed to translate storage class: failed translating allowed topologies: unknown topology key: topology.kubernetes.io/zone |
The error is coming from here: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/csi-translation-lib/plugins/in_tree_volume.go#L328. but it looks to me that |
OK, looks like we need to update external-provisioner in order for it to recognize the GA label. I'm going to make a PR to eks-distro and ask them to build & push a new one to ECR:
In 1.21, we updated the in-tree driver to use the GA label when setting test StorageClasses' AllowedTopologies: kubernetes/kubernetes@339b8b4#diff-5470c26feb298d13a90aed98f13ff97cdbb327b121ef0976631f41553026a06fL1686 . However, our v2.0.2 of the external-provisioner doesn't recognize the GA label as a valid translatable topology key, so in order to pass the new 1.21 test we need a newer version of external-provisioner (like v2.1.2) containing this change: |
actually v2.1.1 is already present in ECR @jsafrane can you try bumping https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/charts/aws-ebs-csi-driver/values.yaml#L15 to v2.1.1-eks-1-19-3 https://gallery.ecr.aws/eks-distro/kubernetes-csi/external-provisioner and seeing if it helps migration test pass, thanks!! |
To get updated CSI translation label names.
Updated to 2.1.1 and everything passed. Trying second time |
/lgtm thank you |
Is this a bug fix or adding new feature?
feature (?)
What is this PR about? / Why do we need it?
Rebase these dependencies:
ControllerGetVolume
to satisfy the new interface (it returnsNotImplemented
).The main motivation is to upgrade to k8s.io/client-go and k8s.io/api that does not have CVE-2021-3121
What testing is done?
Very little! I checked that everything compiles, relying on e2e tests to catch errors.