Minion container fails to start when -Xmx is defined

Description

When using confd to set JVM limits, such as:

process-env: java-opts: - "-Xmx3223M"

the Minion container fails to start with error:

2023-08-16T15:54:58-07:00 b338de20f380 /usr/bin/confd[81]: INFO Target config /opt/prom-jmx-exporter/config.yaml has been updated appending to custom.system.properties: /opt/minion/etc/opennms.properties.d/instance-id.properties No custom config found in /opt/minion-etc-overlay. Use default configuration. Error installing bundle listed in startup.properties with url: mvn:org.apache.karaf.features/org.apache.karaf.features.core/4.3.6 and startlevel: 15

Versions 32.0.1 and earlier do not seem to be affected.

This is specifically an issue on Appliances where this java-opt is set silently to limit heap usage.

Acceptance / Success Criteria

None

Activity

Show:

Morteza November 5, 2024 at 2:50 PM

can you investigate this issue

Jeff Gehlbach August 17, 2023 at 8:05 PM

Prioritizing since this problem hoses Appliance against a 32.0.2 system.

Details

Assignee

Reporter

HB Grooming Date

HB Backlog Status

Components

Fix versions

Affects versions

Priority

PagerDuty

Created August 17, 2023 at 7:23 PM
Updated November 7, 2024 at 4:22 PM

Flag notifications