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回答
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ