aws greengrass lambda function connection

0

Hello, there was a problem connecting the Greengrass Lambda function https://docs.aws.amazon.com/ko_kr/greengrass/v1/developerguide/configs-core.html This is the tutorial I was working on, but there was a problem when distributing the lambda function in the last stage. Deployment failed. And error message is Deployment 42c9ea0c-ac1d-44ce-bcbd-b7e7ca7d0163 of type NewDeployment for group 1e3d2692-8e85-499c-9f70-316a51233e3b failed error: The following cgroup subsystems are not mounted: devices, memory. How can i fix this?

질문됨 2년 전519회 조회
2개 답변
0

The cgroup memory must be mounted and enabled to run Lambda functions. You can find more information in the Greengrass documentation about Supported platforms and requirements.

The Greengrass dependencies checker can verify if your device has the dependencies to run Greengrass this includes also required cgroups.

You can find information howto enable cgroups in the documentation for your Linux distribution.

KR, Philipp

AWS
전문가
답변함 2년 전
0

Only cgroup v1 is supported for Greengrass lambdas. You must disable cgroup v2 in order to use cgroup v1. You can also work around this by simply using the no-container mode of Greengrass so that cgroups aren't required.

To disable cgroup v2, see: https://github.com/aws-samples/aws-greengrass-samples/issues/41#issuecomment-974845635

AWS
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠