Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 94e250aa7162b10637ec112db02c2f5906fe4167
https://github.com/tribe29/checkmk/commit/94e250aa7162b10637ec112db02c2f590…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M omd/packages/omd/omdlib/main.py
A omd/packages/omd/omdlib/tmpfs.py
M omd/packages/omd/omdlib/utils.py
A tests-py3/unit/omdlib/conftest.py
M tests-py3/unit/omdlib/test_omdlib_main.py
A tests-py3/unit/omdlib/test_omdlib_tmpfs.py
Log Message:
-----------
Move tmpfs related functions to dedicated module
Change-Id: Ib84ae0bf3179d9a62a2148015f5945a77e291b4b
Commit: 096c9515ac077045828fb9b113f85c61dae7981b
https://github.com/tribe29/checkmk/commit/096c9515ac077045828fb9b113f85c61d…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M omd/packages/omd/omdlib/contexts.py
M omd/packages/omd/omdlib/tmpfs.py
M tests-py3/unit/omdlib/conftest.py
M tests-py3/unit/omdlib/test_omdlib_tmpfs.py
Log Message:
-----------
Improve testability
Change-Id: I099f39ed4f41939a65f8d0da7063a9822ef11a7a
Commit: 294f445414d6cea2c94dcddd3d99fd7b82bbb2f3
https://github.com/tribe29/checkmk/commit/294f445414d6cea2c94dcddd3d99fd7b8…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
A .werks/11247
M omd/packages/omd/omdlib/main.py
M omd/packages/omd/omdlib/tmpfs.py
M tests-py3/unit/omdlib/test_omdlib_tmpfs.py
Log Message:
-----------
11247 Preserve piggyback data during restart and updates
For performance reasons, the Piggyback data is stored in the tmpfs of the site
(in tmp/check_mk/piggyback). This has the disadvantage that the files disappear
as soon as the checkmk server is restarted or the tmpfs is unmounted (e.g.
during an update).
The lack of piggyback data can temporarily lead to incorrect check results and,
if you use the Dynamic Configuration, even cause certain hosts/services to
disappear from the configuration for a short time.
With this change the content of tmp/check_mk/piggyback and
tmp/check_mk/piggyback_sources is saved to var/omd/tmpfs-dump.tar during
certain actions (currently: omd stop, omd umount).
If the "omd start" detects that tmpfs needs to be reinitialized, the backup
from var/omd/tmpfs-dump.tar is restored to the fresh tmpfs.
Change-Id: I4ac746299824415145b998eeef6047ef01902ab0
Compare:
https://github.com/tribe29/checkmk/compare/f7aa128bc7a4...294f445414d6