Closed oleborup closed 6 years ago
Due to security compliance and historical reasons we are running Ubuntu 14.04 as host machines.
@oleborup, this is a known limitation of cgroups in older kernels and you'll run into this on Ubuntu 14.04 LTS. See this runc issue for more information
After upgrading from 1.16.2 to 1.17.0, the agent cannot start containers.
In 1.17.0 we introduced code to enforce task level memory constraints as described here.
If task level memory and cpu limits are not required for your use case, we would recommend explicitly disabling it through ecs.config
with the ECS_ENABLE_TASK_CPU_MEM_LIMIT
option. This should unblock you and let the agent start containers.
Let me know if you have other questions, thanks 😄
Thanks!
Hello, I ran into the same problem. Thanks @adnxn for the fast reply to the issue of @oleborup. However, I am a little bit confused. From referenced issue I can see that memory limit enforcement was the goal. From your answer adnxn ("If task level memory and cpu limits are not required for your use case") it sounds like not only memory limit enforcement, but also CPU limit enforcement is disabled, when setting ECS_ENABLE_TASK_CPU_MEM_LIMIT to false.
There is no documentation on the variable, so can you please clear this up here?
Summary
After upgrading from 1.16.2 to 1.17.0 ECS Agent cannot start containers
Description
Due to security compliance and historical reasons we are running Ubuntu 14.04 as host machines. After upgrading from 1.16.2 to 1.17.0, the agent cannot start containers.
Observed Behavior
Agent cannot start containers. Agent log digest:
Environment Details