Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: d970b1144684ceac05d4a8bd38930815cdc30609
https://github.com/tribe29/checkmk/commit/d970b1144684ceac05d4a8bd38930815c…
Author: Ulrich Bschorer <ulrich.bschorer(a)tribe29.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
A .werks/12808
M cmk/utils/mailbox.py
Log Message:
-----------
12808 FIX check_mail_loop: crash RuntimeError("Server responded b'+OK 1 messages:', [...]")
The active check check_mail_loop crashed with the error "RuntimeError("Server responded b'+OK 1 messages:', [...]")"
if the response from the server contained more characters than just "+OK". E.g. the result
"+OK, 1 messages" would have lead to an error.
The bugfix contains a more tolerant verification of the result.
Change-Id: If9260a774358f637491ce2c4633178a66de89045
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: ea23d9143130b8d837237ce5490860a590407a37
https://github.com/tribe29/checkmk/commit/ea23d9143130b8d837237ce5490860a59…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M cmk/gui/watolib/activate_changes.py
Log Message:
-----------
Cleanup activate changes site state path computation
Centralize computation of the temporary and persisted path.
Simplify call sites by removing useless instantiation of
ActivateChangesManager.
Change-Id: Iedb0a98794aaf79758049cd104063446521df195
Commit: 1f20a40cd6ed7011905b5a0d64299ae13db36d41
https://github.com/tribe29/checkmk/commit/1f20a40cd6ed7011905b5a0d64299ae13…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M cmk/gui/watolib/activate_changes.py
Log Message:
-----------
Prepare to extract save_state
* Move all self references one level up to _set_result
* Move computation of state datastructure one level up
Change-Id: I263129dbabc1b14c257f8d6d629aba118a03f462
Commit: feeda8512bfe4d12d0eb3f110795303d003e0834
https://github.com/tribe29/checkmk/commit/feeda8512bfe4d12d0eb3f110795303d0…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M cmk/gui/watolib/activate_changes.py
Log Message:
-----------
Add some type hints to assist during refactoring
Change-Id: I7688442de79e1ed8ebf7e8c01f85256605eaeee0
Commit: 8a215bed41f9c1ccb67bd65fd7da54c5e4a5c7d4
https://github.com/tribe29/checkmk/commit/8a215bed41f9c1ccb67bd65fd7da54c5e…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M cmk/gui/watolib/activate_changes.py
M tests/unit/cmk/gui/watolib/test_activate_changes.py
Log Message:
-----------
Removed unused parameter
Change-Id: I19ef509e067e6bc3197e5c0dd6bd204efeb8f48d
Commit: db30b48554afc022cee2f753a2a6c80dea7d834b
https://github.com/tribe29/checkmk/commit/db30b48554afc022cee2f753a2a6c80de…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M cmk/gui/watolib/activate_changes.py
M cmk/gui/watolib/sites.py
M tests/unit/cmk/gui/watolib/test_activate_changes.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
Log Message:
-----------
Make site config directories activation specific
* The site directories are now below
<tt>var/check_mk/site_configs/[activation_id]/[site_id]</tt>.
* Extend housekeeping job ActivationCleanupBackgroundJob to also clean
up the site_configs directories.
* When removing sites from the configuration, the cleanup using
remove_site_config_directory() is not needed anymore.
Change-Id: I2a2e78f58a94a40e54cd159f3d8c967baf6987bf
Commit: 75b4e1f9154f5a43f88263ee3de9b69f91a1b887
https://github.com/tribe29/checkmk/commit/75b4e1f9154f5a43f88263ee3de9b69f9…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
A .werks/12828
Log Message:
-----------
12828 FIX Distributed setup: Fix parallel activations breaking remote sites
Previous 2.0.0 versions could break the Checkmk configuration on remote sites
when two users tried to activate changes for a single remote site at the same
time.
This was a race condition between both processes. While the first activation
performed the synchronization to the remote site, the second activation could
modify the files that are currently being synchronized by the first process.
This could lead to incomplete configurations on the remote site.
Since the first activation did not know anything about this inconsistency, it
tried to activate the incomplete configuration on the remote site after the
sychronization which could fail with different error messages depending on
which files were not transfered.
This issue only affected the configuration of remote sites. No configuration
was lost on the central site.
If you want to prevent this issue with previous 2.0.0 releases, you need to
ensure that you don't start two activations for a site at the same time.
Change-Id: Ifb319e9ee3507a1d7e396b0aac486af60b256b2e
Compare: https://github.com/tribe29/checkmk/compare/b065f6ab4a2a...75b4e1f9154f
Branch: refs/heads/1.6.0
Home: https://github.com/tribe29/checkmk
Commit: 15acfff44716e82a2c7857deb9e3c44c699d2b61
https://github.com/tribe29/checkmk/commit/15acfff44716e82a2c7857deb9e3c44c6…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M buildscripts/infrastructure/os-nodes/centos-6/Dockerfile
Log Message:
-----------
Fix Centos-6 Container #2
* We need an rsync *with* chown option (we knew that before...)
* The need rpm was only moved...
Change-Id: I0cb3de2ecc9e02600e868caa1b7fad60500aedce
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: 7832d2a4fba3773ed25a729fc79185f59f724ffc
https://github.com/tribe29/checkmk/commit/7832d2a4fba3773ed25a729fc79185f59…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M cmk/gui/watolib/activate_changes.py
M tests/unit/cmk/gui/watolib/test_activate_changes.py
Log Message:
-----------
Removed unused parameter
Change-Id: I19ef509e067e6bc3197e5c0dd6bd204efeb8f48d
Commit: 8d0518fd8cf80a71440e2cc8d9e7accf321dc4f2
https://github.com/tribe29/checkmk/commit/8d0518fd8cf80a71440e2cc8d9e7accf3…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M cmk/gui/watolib/activate_changes.py
M cmk/gui/watolib/sites.py
M tests/unit/cmk/gui/watolib/test_activate_changes.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
Log Message:
-----------
Make site config directories activation specific
* The site directories are now below
<tt>var/check_mk/site_configs/[activation_id]/[site_id]</tt>.
* Extend housekeeping job ActivationCleanupBackgroundJob to also clean
up the site_configs directories.
* When removing sites from the configuration, the cleanup using
remove_site_config_directory() is not needed anymore.
Change-Id: I2a2e78f58a94a40e54cd159f3d8c967baf6987bf
Commit: 5867ffa76410dddce6d7830398df81e0beb9f326
https://github.com/tribe29/checkmk/commit/5867ffa76410dddce6d7830398df81e0b…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
A .werks/12828
Log Message:
-----------
12828 FIX Distributed setup: Fix parallel activations breaking remote sites
Previous 2.0.0 versions could break the Checkmk configuration on remote sites
when two users tried to activate changes for a single remote site at the same
time.
This was a race condition between both processes. While the first activation
performed the synchronization to the remote site, the second activation could
modify the files that are currently being synchronized by the first process.
This could lead to incomplete configurations on the remote site.
Since the first activation did not know anything about this inconsistency, it
tried to activate the incomplete configuration on the remote site after the
sychronization which could fail with different error messages depending on
which files were not transfered.
This issue only affected the configuration of remote sites. No configuration
was lost on the central site.
If you want to prevent this issue with previous 2.0.0 releases, you need to
ensure that you don't start two activations for a site at the same time.
Change-Id: Ifb319e9ee3507a1d7e396b0aac486af60b256b2e
Compare: https://github.com/tribe29/checkmk/compare/6654baa9319f...5867ffa76410