Werk #16429: omd cp: Fix RuntimeError: Failed to determine site version

Component Site management
Title omd cp: Fix RuntimeError: Failed to determine site version
Date May 28, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0p27 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This problem affects users of the Checkmk Raw Edition.

Previously, the command sudo omd mv cmk1 cmk2 would result in the following traceback.

  File "/omd/versions/2.2.0p26.cre/lib/python3/omdlib/contexts.py", line 155, in replacements
    raise RuntimeError("Failed to determine site version")
RuntimeError: Failed to determine site version

With this Werk, the error is fixed.

To the list of all Werks