Werk #16228: Enable update as site user due incompatible python versions

Komponente Site management
Titel Enable update as site user due incompatible python versions
Datum 09.11.2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.2.0p14 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

This werk is relevant for you in case you've been using omd -V {version} update as site user. Due to the update of the Python version from 3.11.2 to 3.11.5 with 2.2.0p13, we needed to introduce a fix in order to avoid the following issue:

Traceback (most recent call last):
 File "/omd/versions/2.2.0p13.cee/bin/omd", line 60, in <module>
   import omdlib.main
 File "/omd/versions/2.2.0p13.cee/lib/python3/omdlib/main.py", line 36, in <module>
   import random
 File "/omd/versions/2.2.0p13.cee/lib/python3.11/random.py", line 49, in <module>
   from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil
ImportError: /omd/versions/2.2.0p13.cee/lib/python3.11/lib-dynload/math.cpython-311-x86_64-linux-gnu.so: undefined symbol: _PyModule_Add

However, this fix introduced another issue with the release of 2.2.0p13, that's why we had to withdraw 2.2.0p13 and release 2.2.0p14 which addressed both issues.

Zur Liste aller Werks