Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
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
@Tahir Abbasi 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.
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.