aws / amazon-ecs-init

Amazon Elastic Container Service RPM
http://aws.amazon.com/ecs
Apache License 2.0
198 stars 119 forks source link

ECS now supports cgroups v2 #502

Closed fendent closed 2 years ago

fendent commented 2 years ago

Summary

ECS now supports cgroups v2 and no longer needs to block the install in this case.

Reference: https://github.com/aws/containers-roadmap/issues/1535 https://github.com/aws/amazon-ecs-agent/pull/3127

Implementation details

I removed the flow logic that bails if it detects cgroups v2.

Testing

I have been able to successfully run the install script and get a properly running ECS agent in docker on a cgroups v2 debian bullseye docker container.

New tests cover the changes: no

Description for the changelog

Bug - Install script no longer fails on systems using cgroups v2

Licensing

This contribution is under the terms of the Apache 2.0 License: yes