Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: c307a47dc7816d90c270e1a58cfa3174f5790439
https://github.com/Checkmk/checkmk/commit/c307a47dc7816d90c270e1a58cfa3174f…
Author: Matteo Stifano <matteo.stifano(a)checkmk.com>
Date: 2023-07-03 (Mon, 03 Jul 2023)
Changed paths:
M tests/update/conftest.py
Log Message:
-----------
Pretty-print services' lists in update-test logger
This makes it easier to debug issues in services while debugging.
Change-Id: I85cb639c036b13e3adc58bedab8cb0fa999e415d
Commit: 29ff731bb5023c09d7041194cb9e91e73e8a342a
https://github.com/Checkmk/checkmk/commit/29ff731bb5023c09d7041194cb9e91e73…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-07-03 (Mon, 03 Jul 2023)
Changed paths:
A cmk/update_config/plugins/actions/create_precompiled_files.py
A cmk/update_config/plugins/pre_actions/cleanup_precompiled_hosts.py
Log Message:
-----------
Prevent previous version .pkl files from breaking cmk-update-config
The hosts.pkl files exist to improve read performance on the hosts.mk
files. Similar to what .pyc does for .py files.
There may be references to non native types in these files. For example,
in 2.2 we store a reference to the UserId with it's absolute module path.
In the moment we move or rename this type, the .pkl files can not be
loaded anymore.
This means we have no guarantee that the files can be read by the
cmk-update-config code of the version a user just updated to.
The current concept of the .pkl files allows removal of the files, since
they can be regenerated from the .mk files.
So we remove the .pkl files in an early stage of the update procedure
from now on.
CMK-13841
Change-Id: I91cff3d8d1ff2c5243bdce92a08c83e1efcadda7
Compare:
https://github.com/Checkmk/checkmk/compare/9bb511079ba0...29ff731bb502