Checkmk 2.0 is here! See what's new.

Werk #11617: Activate changes: Improve error handling when trying to activate changes of offline sites

Component WATO
Title Activate changes: Improve error handling when trying to activate changes of offline sites
Date Dec 2, 2020
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0b2 2.1.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

When triggering the activate changes API calls in "dirty" mode (activate all changes on all dirty sites), the offline sites were automatically excluded. In this situation the activation was performed with an empty list of sites. Resulting in an empty result set.

Leaving the user with the question why his changes were not activated. To be more consistent, the situation is now detected and an error is raised, explaining the situation to the user:

There are changes to activate, but no site can be activated (The sites A, B, C have changes, but may be offline or not logged in).

The caller needs wait and retry the operation at a later time once the sites in question are reachable again.

To the list of all Werks