- Newest
- Most votes
- Most comments
Hi andersgb,
From the Greengrass Dockerfile README.md, https://docs.aws.amazon.com/greengrass/latest/developerguide/what-is-gg.html#gg-docker-download
If you see the error message \[FATAL]-Failed to reset thread's mount namespace due to an unexpected error: "operation not permitted". To maintain consistency, GGC will crash and need to be manually restarted.
in /greengrass/ggc/var/log/system/runtime.log
. This is most probably caused by deploying a GreengrassContainer
lambda to GGC running in Docker Container
as this use-case is not yet supported. All the lambdas should be deployed in NoContainer
mode. To fix this, disregard the current deployment stuck In Progress
. Start a new deployment and make sure that all the lambdas are deployed in NoContainer
mode. After that, while starting the GGC Docker Container, do not bind-mount the existing deployment
directory onto GGC Docker Container
. Create a new empty deployment
directory in its place and bind-mount that in the GGC Docker container
instead. New GGC Docker Container should receive the latest deployment with lambdas running in NoContainer
mode.
If you change the container mode for your Lambda it should work. You might want to specify the group default to non-container.
Thanks,
KR-AWS
Thanks KR-AWS,
I thought I had switched to NoContainer already, but apparently not.
If you change the container mode for your Lambda it should work. You might want to specify the group default to non-container.
It seems like overriding to IsolationMode: NoContainer for my single Lambda was not sufficient (while keeping the default setting for group function defaults). I actually had to specify the group default to get it working.
Relevant content
- Accepted Answerasked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago