Greengrass on Ubuntu Core (Classic mode)

0

I have a Dell Gateway 3001 device and I am trying to get Greengrass Core running.
The device has Ubuntu Core with snap package management and unfortunately in snapcraft store there's only 1.8.0 version of Greengrass available and I want 1.9.0 that suppots Node.js Lambdas.

I am trying to get the 1.9.0 version working inside "classic mode" which I installed from snap store with sudo snap install classic --devmode --edge and then entering in the classic with sudo classic.

I am running into problems in classic mode, when trying to run command: sudo modprobe configs
I get an error:
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.0-151-generic/modules.dep.bin'
modprobe: FATAL: Module configs not found in directory /lib/modules/4.4.0-151-generic

The directory /lib/modules/ is empty in classic mode, since the classic is actually a snap running in a "sandbox" if I understand correctly.

Any advice how to get around this or in general how to get Greengrass 1.9.0 running in Ubuntu Core?

Mulperi
asked 5 years ago398 views
5 Answers
0

Hi

The AWS team is working on a new version of the snap but hasn't communicated a release date, yet. See this thread https://forums.aws.amazon.com/thread.jspa?threadID=303437&tstart=0

joeb-at-aws suggested the following strategy:

In the meantime, your team may be able to use the Greengrass docker container with the Docker snap to avoid the need for manual install. Would that be a viable option?

Jips71
answered 5 years ago
0

Thanks Jips71! The Greengrass team is still actively working on updating the Snap.

Thanks,
KR-AWS

AWS
KR-AWS
answered 5 years ago
0

Thanks for the reply. I am now trying to install dockerized version of Greengrass to Ubuntu Core.

I am now facing some new issues. Because Ubuntu Cores file system is read-only, I am not able to edit for example /etc/sysctl.conf as needed.

Any ideas how to advance?

Edited by: Mulperi on Jun 25, 2019 4:31 AM

Mulperi
answered 5 years ago
0

This AWS Online Tech Talks video on Youtube may be helpful.

How to Deploy AWS IoT Greengrass Using Docker Containers and Ubuntu Snap
https://www.youtube.com/watch?reload=9&v=wFeoKhVg-PM

Jips71
answered 5 years ago
0

Hi why do you need to change /etc/sysctl.conf ? For hardlink and symlink?

You can start greengrass with greengrassd -i start, it does not require enabling hardlink protection

answered 5 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