Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: c5a9ed82c6f3115b7aaa46c6aa1b63953d8d5ce5
https://github.com/Checkmk/checkmk/commit/c5a9ed82c6f3115b7aaa46c6aa1b63953…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-07-04 (Tue, 04 Jul 2023)
Changed paths:
A .werks/15709
Log Message:
-----------
15709 FIX Fix "Transform spool files" update issue
Empty files in notification spool directories did break the update procedure in previous
2.2
version, which prevented the update procedure from ensuring a consistent configuration and
runtime
data.
The related error looked like this:
C+:
-| 18/20 Transform spool files...
-| + "Transform spool files" failed
-| Traceback (most recent call last):
-| File "/omd/sites/semitan/lib/python3/cmk/update_config/main.py", line 223, in
_call_
-| action(self._logger, self.update_state.setdefault(action.name))
-| File
"/omd/sites/semitan/lib/python3/cmk/update_config/cee/plugins/actions/notifications.py",
line 31, in _call_
-| data["context"] =
transform_flexible_and_plain_context(data["context"])
-| ~~~~^^^^^^^^^^^
-| KeyError: 'context'
C-:
Change-Id: I8475f68f4a877438b17c7f5a54d431bf24796c7c