-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
An ECS cluster with > 100 tasks cannot be enumerated #1210
Comments
It sounds like the AWS library should be patched. However, I see no problems with fixing the problem locally in Traefik first and follow up with an upstream contribution afterwards. |
Hi there. I'm really interested on the ECS implementation in Traefik. Anyway, thanks for taking time to fix this issue I'll encounter soon :) |
#1209 should have fixed this. Closing. |
@timoreimann I thinks this bug is still here. I cant find any code that you merge. |
What version of Traefik are you using (
traefik version
)?1.2.0-rc2, HEAD (
5abffe4
)What is your environment & configuration (arguments, toml...)?
What did you do?
What did you expect to see?
What did you see instead?
time="2017-03-01T16:28:22Z" level=error msg="ECS connection error InvalidParameterException: taskIds can have at most 100 items.\n\tstatus code: 400, request id: 169119ff-fe9c-11e6-8373-19566efe7b68, retrying in 603.484233ms"
*
time="2017-03-01T16:28:23Z" level=error msg="ECS connection error InvalidParameterException: taskIds can have at most 100 items.\n\tstatus code: 400, request id: 17055ecb-fe9c-11e6-8373-19566efe7b68, retrying in 537.351478ms"
*(...)
The ECS backend then never comes up.
The problem is here:
https://github.com/containous/traefik/blob/master/provider/ecs.go#L209
PR #1209 will fix it - but I don't know if the Go AWS API should actually be patched to chunk the input parameters there, or if that wouldn't be consistent - so merge/reject as you see fit :-)
The text was updated successfully, but these errors were encountered: