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?

feita há 2 anos518 visualizações
2 Respostas
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
ESPECIALISTA
respondido há 2 anos
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
ESPECIALISTA
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas