✨ Migrate ec2 to AWS SDK V2#5521
Conversation
|
Welcome @yiannistri! |
|
Hi @yiannistri. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
52a7c2f to
543a41c
Compare
|
/ok-to-test |
|
@yiannistri hey would you be able to rebate now that the GC or merged? Thanks! |
|
/test pull-cluster-api-provider-aws-e2e-eks pull-cluster-api-provider-aws-e2e |
punkwalker
left a comment
There was a problem hiding this comment.
@yiannistri This is the biggest of V2 migration. Thank you for working on this. I have requested few changes, otherwise this LGTM.
|
|
||
| if len(inputFilters) > 0 { | ||
| out, err := s.EC2Client.DescribeSubnetsWithContext(context.TODO(), &ec2.DescribeSubnetsInput{ | ||
| out, err := s.EC2Client.DescribeSubnets(context.TODO(), &ec2.DescribeSubnetsInput{ |
There was a problem hiding this comment.
nit: Can we bring the context from parent calls here instead of using context.TODO()? Similarly, should we do it for all such EC2Client. i.e, if context is available in parent method, use it instead of TODO?
P.S. I know the context.TODO() has been around but thought of improving it while we are at it :)
|
/test pull-cluster-api-provider-aws-e2e-eks pull-cluster-api-provider-aws-e2e |
4 similar comments
|
/test pull-cluster-api-provider-aws-e2e-eks pull-cluster-api-provider-aws-e2e |
|
/test pull-cluster-api-provider-aws-e2e-eks pull-cluster-api-provider-aws-e2e |
|
/test pull-cluster-api-provider-aws-e2e-eks pull-cluster-api-provider-aws-e2e |
|
/test pull-cluster-api-provider-aws-e2e-eks pull-cluster-api-provider-aws-e2e |
|
Hey @yiannistri it looks like the PR never passed the full E2Es and the EKS E2Es Whereas the periodics against main for those tests have good pass rates:
I suspect there might be something either causing issues, or exacerbating flakes and making them permafailures. Would you be able to take a look at the e2e test, maybe you could even try running it from your machine if that helps debugging. Thanks! |
|
Looks like this issue also addressed changes needed for network code in #5409 . cc : @richardcase |
@yiannistri - i added that issue to the list of fixes in the description. |
|
/test pull-cluster-api-provider-aws-e2e |
|
/test pull-cluster-api-provider-aws-e2e |
|
/test pull-cluster-api-provider-aws-e2e-eks |
|
/test pull-cluster-api-provider-aws-e2e-eks pull-cluster-api-provider-aws-e2e |
|
/retest |
1 similar comment
|
/retest |
|
/test pull-cluster-api-provider-aws-e2e-eks pull-cluster-api-provider-aws-e2e |
2 similar comments
|
/test pull-cluster-api-provider-aws-e2e-eks pull-cluster-api-provider-aws-e2e |
|
/test pull-cluster-api-provider-aws-e2e-eks pull-cluster-api-provider-aws-e2e |
|
/test pull-cluster-api-provider-aws-e2e |
|
/assign @richardcase @nrb @AndiDog @dlipovetsky For approval |
|
/approve Thank you for persevering on this change! It's hugely helpful. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nrb The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
LGTM label has been added. DetailsGit tree hash: cb7dad31591eb62ec90bac46947aca6dab9d5008 |

What type of PR is this?
/kind feature
/kind cleanup
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #5403, #5411, #5409
Special notes for your reviewer:
Checklist:
Release note: