eventd does not validate its configuration before reloading in response to a reloadDaemonConfig event

Description

When a uei.opennms.org/internal/reloadDaemonConfig event is sent with parm daemonName Eventd, eventd blindly reloads its config.

If there is an error in that configuration, eventd can crash and require a full restart of OpenNMS.

In this state, “opennms -v status" will always report eventd as "running", even when it is not.

When reloading its config in response to a reloadDaemonConfig event, eventd should first validate its configuration files. If that validation fails, it should emit an event and refuse to reload.

Acceptance / Success Criteria

None

Activity

Show:

Christian Pape May 23, 2023 at 6:28 AM

Merged.

Christian Pape May 23, 2023 at 6:27 AM

Fixed

Details

Assignee

Reporter

Labels

HB Grooming Date

HB Backlog Status

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created January 17, 2023 at 6:47 PM
Updated May 23, 2023 at 6:28 AM
Resolved May 23, 2023 at 6:28 AM