-
Notifications
You must be signed in to change notification settings - Fork 618
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
ECS control plane not compatible with ECS-A and Docker v26 requirements for API version #4129
Comments
Hello, could you clarify more details about your setup such as which version of ECS Agent you are using? I tried to reproduce the issue but found that I was able to use ECS with docker-ce version 26.0.0. Further Details: I spun up an Ubuntu 22 instance for ECS-Anywhere using ECS Agent 1.82.1 and ensured docker-ce version 26.0.0 was installed.
I registered the instance with an empty ECS cluster, then started a task. The task transitioned to RUNNING and I ran the following on the instance to confirm ECS Agent and the container associated with the task were running as expected:
I then stopped the task and ran the following on the instance to confirm ECS Agent was still running and the container associated with the task was no longer running as expected:
|
The issue is not Docker v26 or Agent 1.82.1, it's running both of those then assigning an ECS task from the control plane to the instance. These both run, but they won't accept any tasks configured in ECS. The AWS ECS control plane for task definitions still assigns very old API versions as Literally a 3-body problem. |
Sorry, I'm not sure I am following here. I was able to assign an ECS task from control plane to the instance under the simple setup specified in my previous comment. Perhaps is there some special additional set up that you are doing when you observe this issue? |
Could you clarify where exactly you are seeing the requiresAttributes for "ECS itself is still requiring from task defs"? |
these There is nowhere that we are setting these, but was told that these are assigned automatically from ECS logic based on the requirements of the task definition. I've attempted creating new revisions but these remain. I have not attempted creating the task def again from scratch to see if these dependencies disappear in later newly created versions, since our rev 1 of this task was about 2 years old. UPDATE: I may have answered my own question.... I'm guessing that ECS inspects the |
Hi, are you still facing an issue regarding this? It seems like you have diagnosed the problem -- looking to confirm. |
Spawning this out to a new issue, rather than a comment on #4090
I think there are multiple problems here:
agent v1.80 had the incompatibility with Docker v25 when they forced the
DOCKER_MIN_API_VERSION
to be used, which was fixed in v1.81.Now, with docker-ce v26, this setting no longer is accepted and the previous guidance of
DOCKER_MIN_API_VERSION=1.17
pre ecs-agent 1.81.0 from #4074 (comment) prevents docker-ce v26 from starting all:This is a problem, because ECS itself is still requiring from task defs:
So it's just not possible to upgrade docker-ce at all past 25.0.5 and maintain compatibility with ECS
Originally posted by @rClark-qubeyond in #4090 (comment)
The text was updated successfully, but these errors were encountered: