-
Notifications
You must be signed in to change notification settings - Fork 3.4k
aws/ENI: Only use pagination when not specifying IDs #39120
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
Conversation
Setting both IDs and a maxresult parameter in a describe call input is not possible, see [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination): > If you call a describe API action with both a list of IDs and MaxResults, the request fails with the error InvalidParameterCombination. Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
/test |
Do you mind to help me understand why I dont see any issue when starting the cluster in 1.17.x. or how the CI get passed? Is it only be triggered when it reaches the certain size? |
The issue should only affect users that set the Since that parameter is not set in the EKS CI tests, it's expected that the CI passed on the initial PR that introduced this behavior. Currently, we hit the problematic codepath where both |
Thanks for the explaination, and it was a busy week for me. Here is the reference for someone look into it in the future MaxResults https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInterfaces.html |
Setting both IDs and a maxresult parameter in a describe call input is not possible, see AWS documentation:
Fixes #39106
See also #37983
Will need to be backported to 1.17
Please ensure your pull request adheres to the following guidelines:
description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.
Fixes: <commit-id>
tag, thenplease add the commit author[s] as reviewer[s] to this issue.