Container ignores environment variable OPENNMS_DATABASE_CONNECTION_MINPOOL or confd opennms/database/connection/minpool configuration

Description

With either environment variable or confd set for database connection minpool, the container ignores the parameter.

 

In docker-compose.yaml file,

Environment variable set as

or in confd yaml file,

The connection pool setting is always 50/50 regardless.

Verified that the other parameters are working in both scenarios.

Because there’s no way to override this setting, you are forced to overlay the opennms-datasources.xml file manually every time you make a change to that file.

Acceptance / Success Criteria

None

Activity

Show:

Mark Mahacek September 19, 2023 at 6:20 PM
Edited

The template file for the database config had typos for the values to substitute.


PR: https://github.com/OpenNMS/opennms/pull/6686

Fixed

Details

Assignee

Reporter

Labels

Affects versions

Priority

PagerDuty

Created September 19, 2023 at 4:36 PM
Updated September 27, 2023 at 7:40 PM
Resolved September 27, 2023 at 7:40 PM