Greengrass V2 Nucleus won't start on OpenWRT

0

Hi, I'm trying to get AWS GreenGrass V2 core working on an install of OpenWRT. I currently have OpenWRT running in a virtual machine running as x86_64. I have satisfied all the requirements listed here: https://docs.aws.amazon.com/greengrass/v2/developerguide/setting-up.html and I have installed OpenJDK 11 for Alpine Linux. I am able to get greengrass to successfully install with this command:

java -Droot="/greengrass/v2" -Dlog.store=FILE -jar ./GreengrassInstaller/lib/Greengrass.jar --aws-region us-east-2 --thing-name test --thing-group-name test --component-default-user ggc_user:ggc_group --provision true --setup-system-service true --deploy-dev-tools true

But when I check greengrass.log, I see this error regarding nucleus failing to start:

2023-09-19T20:32:04.267Z [ERROR] (main) com.aws.greengrass.easysetup.GreengrassSetup: Error while trying to setup Greengrass Nucleus. {}
java.lang.ExceptionInInitializerError
	at software.amazon.awssdk.crt.CrtResource.<clinit>(CrtResource.java:104)
	at com.aws.greengrass.ipc.IPCEventStreamService.startup(IPCEventStreamService.java:97)
	at com.aws.greengrass.lifecyclemanager.KernelLifecycle.launch(KernelLifecycle.java:150)
	at com.aws.greengrass.lifecyclemanager.Kernel.launch(Kernel.java:251)
	at com.aws.greengrass.easysetup.GreengrassSetup.performSetup(GreengrassSetup.java:349)
	at com.aws.greengrass.easysetup.GreengrassSetup.main(GreengrassSetup.java:274)
Caused by: software.amazon.awssdk.crt.CrtRuntimeException: software.amazon.awssdk.crt.CrtRuntimeException: Unable to unpack AWS CRT library UNKNOWN(-1) UNKNOWN(-1)
	at software.amazon.awssdk.crt.CRT.loadLibraryFromJar(CRT.java:255)
	at software.amazon.awssdk.crt.CRT.<clinit>(CRT.java:35)
	... 6 more

Any help with solving is issue is greatly appreciated.

Thank you!

asked a year ago489 views
1 Answer
0
Accepted Answer

Hello,

OpenWRT is not supported. You must use a supported OS with glibc: https://docs.aws.amazon.com/greengrass/v2/developerguide/setting-up.html#:~:text=GNU%20C%20Library,2.25%20or%20greater.

Cheers,

Michael

AWS
EXPERT
answered a year ago
profile pictureAWS
EXPERT
reviewed a year 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