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?

asked 2 years ago513 views
2 Answers
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
EXPERT
answered 2 years ago
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
EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions