Werk #22674 · Dec 1, 26
Notifications and automation calls failed while the automation helper restarted
When the automation helper restarted, notifications and automation calls such as a service discovery could fail. The helper is restarted, for example, when an activation of changes on a remote site installs extension packages.
The notification spooler then logged "The automation-helper service is required for the notification spooler". A service discovery failed with "Connection refused" on tmp/run/automation-helper.sock.
There were two causes:
- The new helper process refused connections until it had loaded the configuration. This took several seconds.
- For a moment, the helper's socket did not exist at all.
The new helper process now accepts connections right away and answers them as soon as it has loaded the configuration. In addition, Checkmk now retries the connection to the automation helper for about 10 seconds.
A request that reaches the helper while the old helper process shuts down can still fail. Checkmk does not retry such a request, because it cannot tell whether the helper has already processed it.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Core
- Versions:
- 2.5.0p24Not yet releasedAll Editions