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
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.
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