Fixed
Details
Assignee
MortezaMortezaReporter
Ronny TrommerRonny TrommerHB Grooming Date
Sep 27, 2022HB Backlog Status
Refined BacklogStory Points
4Components
Sprint
NoneFix versions
Priority
Minor
Details
Details
Assignee
Morteza
MortezaReporter
Ronny Trommer
Ronny TrommerHB Grooming Date
Sep 27, 2022
HB Backlog Status
Refined Backlog
Story Points
4
Components
Sprint
None
Fix versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created September 24, 2022 at 7:47 PM
Updated December 14, 2022 at 5:20 PM
Resolved December 14, 2022 at 5:20 PM
When running the OCI image build from our CI/CD pipeline published to DockerHub, it uses the default configuration RRD as time series storage strategy.
The default path for the jrrd2 library is set to
/usr/lib64/libjrrd2.so
which is the path having JRRD2 installed on a CentOS base image. While switching to an Ubuntu base image the path needs to be/usr/lib/jni/libjrrd2.so
. As a workaround the correct path can be set with an environment variableOPENNMS_LIBRARY_JRRD2="/usr/lib/jni/libjrrd2.so"
.While testing the container image it seems the functionality is not affected when
opennms.library.jrrd2=/usr/lib64/libjrrd2.so
points to a wrong path to libjrrd2.so.The ./install command on setup takes care of resolving the libjrrd2.so path with
It will be persisted in the
$OPENNMS_HOME/etc/libraries.properties
and the environment variable isn't required.