Minion fails to start on Raspberry Pi

Description

Not sure if this is the right place for this.

 

I'm installing Minion on a Raspberry Pi and getting an error. I can install it, log on to Karaf the first time and configure the Minion. When I try launch the minion afterwards, Karaf fails to launch.

Log in /var/log/minion/minion.log shows the following error:

Not sure if this is important, but before that the log is saying that it cannot validate file integrity from the repositories folder
 

Environment

Raspberry Pi 3 B+

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Matthew Brooks October 25, 2019 at 3:34 PM

As a result of the journey that this issue ended up being I opened a PR with JNA to support the RPI on a 32bit os https://github.com/java-native-access/jna/pull/1147

Benjamin Reed October 24, 2019 at 8:58 PM

I would expect it's pretty reasonable to require 64-bit OS support.

Matthew Brooks October 24, 2019 at 8:56 PM

So ultimately the solution to this issue is if running on a Raspberry Pi 3+, you will need to be running on a 64bit OS (Ubuntu Core18 is one option).

Matthew Brooks October 24, 2019 at 8:54 PM

So it turns out the bundle wrap approach was not going to work since JNA is already installed at karaf startup time and we can't wrap that copy. So if we wanted to get the JNA pinger to work on Arm32 Rpi we would need to re-package the JNA bundle completely and update the metadata.

 

I tested Minion on Arm64 with Ubuntu Core18 and the JNA pinger just works out of the box on that architecture. So rather than fixing via the above ugly method, we can simply say we don't support Minion on Arm32.

Matthew Brooks October 24, 2019 at 4:26 PM

The JNA pinger implementation does work if you can get the JNA bundle to install. I tried hacking the bundle headers to get it installed and confirmed the JNA impl was working in Minion on arm.

 

To fix this in a less hacky way, we can use the bundle wrap protocol in our feature repository to alter the bundle headers to allow the JNA bundle to install.

Won't Fix

Details

Assignee

Reporter

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created November 13, 2018 at 2:47 PM
Updated July 8, 2020 at 2:11 PM
Resolved October 24, 2019 at 8:56 PM