Branch: refs/heads/2.3.0
Home: https://github.com/Checkmk/checkmk
Commit: b15ac20b60af3509372638006c99cea2873358f4
https://github.com/Checkmk/checkmk/commit/b15ac20b60af3509372638006c99cea28…
Author: Solomon Jacobs <solomon.jacobs(a)checkmk.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M omd/packages/omd/omdlib/main.py
A omd/packages/omd/omdlib/update.py
A tests/unit/omdlib/test_update.py
Log Message:
-----------
omd update (1): rollback skeleton files
The command `omd update` must abort, if the pre-update checks fail.
Different update steps depend on each other, so reordering these steps
is not trivial. Instead we make it possible to rollback changes, which
have been made before the pre-update checks. An additional benefit is
that if the user cancels the update (using the `abort` option or CTRL-C),
then the site can be in a consistent state. Note that failures after the
pre-update checks are beyond the scope of the 2.3.0. These type of
failures are not covered by the rollback mechanism.
This change allows rollbacks of any change done by iterating over the
skeleton files.
CMK-15866
Change-Id: Ib06fef303c5faa2125d07d7cf5bedd8ac88d364b
Commit: 28726d927f924371a51cd29c613d8b15c55a31a0
https://github.com/Checkmk/checkmk/commit/28726d927f924371a51cd29c613d8b15c…
Author: Solomon Jacobs <solomon.jacobs(a)checkmk.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M omd/packages/omd/omdlib/main.py
M omd/packages/omd/omdlib/update.py
Log Message:
-----------
omd update (2): rollback version link
The command `omd update` needs to abort, if the pre-update checks fail.
Different update steps depend on one another, so reordering these steps
is not trivial. Instead we make it possible to rollback changes, which
have been done before the pre-update checks. An additional benefit is
that if the user aborts his update (using the `abort` option or CTRL-C),
then the site can be in a consistent state. Note that failures after the
pre-update checks are beyond the scope of the 2.3.0. These type of
failures are not covered by the rollback mechanism.
This change allows rollbacks of changes to the version link.
CMK-15866
Change-Id: Ia08f06e0895a239453906498cfed82fbcd7ec9ef
Commit: 79c35c74d1481c20ad3c60ff63f57ecd3759e2e5
https://github.com/Checkmk/checkmk/commit/79c35c74d1481c20ad3c60ff63f57ecd3…
Author: Solomon Jacobs <solomon.jacobs(a)checkmk.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M omd/packages/omd/omdlib/main.py
Log Message:
-----------
omd update (3): manage more update steps
The command `omd update` must abort, if the pre-update checks fail.
Different update steps depend on each other, so reordering these steps
is not trivial. Instead we make it possible to rollback changes, which
have been made before the pre-update checks. An additional benefit is
that if the user cancels the update (using the `abort` option or CTRL-C),
then the site can be in a consistent state. Note that failures after the
pre-update checks are beyond the scope of the 2.3.0. These type of
failures are not covered by the rollback mechanism.
The rollback mechanism is extended to three more update steps. None of
these need a rollback:
* `save_version_meta_data` is unaffected by a failed execution and does
not concern user data.
* `site.load_config` and `load_defaults` are state free. This was
verified by checking all hooks in 2.3.0.
* `legacy_agent_ca` is incorrectly symlinked. The new symlink is
appropriate for 2.2.0 and 2.3.0.
CMK-15866
Change-Id: I91830caaaf7e90ee8b2ecacf080cfb3208c926ed
Commit: 4b8229000490f4f7dbbcd7b37483eca43dddec53
https://github.com/Checkmk/checkmk/commit/4b8229000490f4f7dbbcd7b37483eca43…
Author: Solomon Jacobs <solomon.jacobs(a)checkmk.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M omd/packages/mk-livestatus/LIVESTATUS_TCP
M omd/packages/pnp4nagios/PNP4NAGIOS
Log Message:
-----------
omd update: remove some mkdir calls from hooks
This is covered by the corresponding skel files, and does not belong
here.
CMK-15866
Change-Id: I15ee6af90479406ac1c685c46e671720100b7418
Commit: b9e7c0e5317b65cc699b3afe82c8bd8e2f02e5f1
https://github.com/Checkmk/checkmk/commit/b9e7c0e5317b65cc699b3afe82c8bd8e2…
Author: Solomon Jacobs <solomon.jacobs(a)checkmk.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M omd/packages/omd/omdlib/main.py
M omd/packages/omd/omdlib/update.py
Log Message:
-----------
omd update (4): rollback calls to config hooks
The command `omd update` must abort, if the pre-update checks fail.
Different update steps depend on each other, so reordering these steps
is not trivial. Instead we make it possible to rollback changes, which
have been made before the pre-update checks. An additional benefit is
that if the user cancels the update (using the `abort` option or CTRL-C),
then the site can be in a consistent state. Note that failures after the
pre-update checks are beyond the scope of the 2.3.0. These type of
failures are not covered by the rollback mechanism.
This change allows rollbacks update actions executed by the config hooks.
These bash scripts contain update actions specific to the omd package.
This mechanism is maintained by hand in 2.3.0, but having an appropriate
solution here is needed in the future.
CMK-15866
Change-Id: Ib66b2548c5504efadb18d0514155442f508db088
Commit: a687453ad422ea5da37b62d5a675df54ee59425b
https://github.com/Checkmk/checkmk/commit/a687453ad422ea5da37b62d5a675df54e…
Author: Solomon Jacobs <solomon.jacobs(a)checkmk.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M omd/packages/omd/omdlib/main.py
M omd/packages/omd/omdlib/tmpfs.py
Log Message:
-----------
omd: change `prepare_tmpfs` params
Change-Id: Ic43d3726bc2d30876176083dd2ba011e29fc7160
Commit: 773e176523deda25a83aa37398eac5eb12d8c4ad
https://github.com/Checkmk/checkmk/commit/773e176523deda25a83aa37398eac5eb1…
Author: Solomon Jacobs <solomon.jacobs(a)checkmk.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M omd/packages/omd/omdlib/main.py
M omd/packages/omd/omdlib/skel_permissions.py
M omd/packages/omd/omdlib/utils.py
Log Message:
-----------
omd: move `chown_tree`
CMK-15866
Change-Id: Ib07a59ab6d58dda2bee5b0b86df33fde148d8163
Commit: b5974cd3fa754476b11cc3e91b9a1ccd845780c6
https://github.com/Checkmk/checkmk/commit/b5974cd3fa754476b11cc3e91b9a1ccd8…
Author: Solomon Jacobs <solomon.jacobs(a)checkmk.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M omd/packages/omd/omdlib/main.py
M omd/packages/omd/omdlib/tmpfs.py
Log Message:
-----------
omd: move `prepare_and_populate_tmpfs`
CMK-15866
Change-Id: I765eaa5683f746003e67c94a155f524a98a55705
Commit: 59cc64dcd4bfc4687b3da06530d113f2bf174ab4
https://github.com/Checkmk/checkmk/commit/59cc64dcd4bfc4687b3da06530d113f2b…
Author: Andreas Umbreit <andreas.umbreit(a)checkmk.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M packages/check-http/src/checks.rs
Log Message:
-----------
check_http: Evaluate TextMatchers separately
Preparation step for providing more detailled information in the check
results
CMK-16160
Change-Id: Ifedc256d31f3fc4bcd683ddea85682e75ea805ca
Commit: 0a4b9ee8f1616bb72d9df37454626478e35e3982
https://github.com/Checkmk/checkmk/commit/0a4b9ee8f1616bb72d9df37454626478e…
Author: Andreas Umbreit <andreas.umbreit(a)checkmk.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M packages/check-http/src/checks.rs
Log Message:
-----------
check_http: Include string matching info in check result
CMK-16160
Change-Id: I16b2954fd2096a736e022645abdfba9ddc479b2a
Compare: https://github.com/Checkmk/checkmk/compare/d4bbfdbc52da...0a4b9ee8f161
To unsubscribe from these emails, change your notification settings at https://github.com/Checkmk/checkmk/settings/notifications
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 88c01109a517da6815dc63dc66b231b3cb7981f2
https://github.com/Checkmk/checkmk/commit/88c01109a517da6815dc63dc66b231b3c…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M cmk/base/automations/check_mk.py
M cmk/base/checkers.py
M cmk/base/config.py
M cmk/base/modes/check_mk.py
M cmk/base/sources/_builder.py
M cmk/fetchers/config.py
Log Message:
-----------
fetchers: Remove dep on cmk.utils.paths #5
Change-Id: Ib897adfbafce71cc5756ca4596df4bda25c36018
Commit: d7a6230b8b60288e5b154cac316895a130c7e153
https://github.com/Checkmk/checkmk/commit/d7a6230b8b60288e5b154cac316895a13…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M cmk/base/automations/check_mk.py
M cmk/base/checkers.py
M cmk/base/dump_host.py
M cmk/base/modes/check_mk.py
M cmk/base/sources/_builder.py
M cmk/base/sources/_sources.py
M cmk/fetchers/config.py
M tests/unit/cmk/base/sources/test_data_sources.py
Log Message:
-----------
fetchers: Remove dep on cmk.utils.paths #6
Change-Id: I6b8e97cee752d8a98ae6cf8278c08802e38e386d
Commit: d4f05e1dfae99c5556d77ab3ccfe0db5a2008466
https://github.com/Checkmk/checkmk/commit/d4f05e1dfae99c5556d77ab3ccfe0db5a…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M cmk/base/automations/check_mk.py
M cmk/base/checkers.py
M cmk/base/dump_host.py
M cmk/base/modes/check_mk.py
M cmk/base/sources/_builder.py
M cmk/base/sources/_sources.py
M cmk/fetchers/config.py
M tests/unit/cmk/base/sources/test_data_sources.py
Log Message:
-----------
fetchers: Remove dep on cmk.utils.paths #7
Change-Id: I44828821f66d76c08b3f097bdec522addbd21add
Compare: https://github.com/Checkmk/checkmk/compare/556d45046258...d4f05e1dfae9
To unsubscribe from these emails, change your notification settings at https://github.com/Checkmk/checkmk/settings/notifications