Module: check_mk
Branch: master
Commit: 4a3f4e4b9415ccd9229bcf3b013ebccce23b8263
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4a3f4e4b9415cc…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Mar 27 11:02:10 2017 +0200
4513 FIX Agent Updater: Fixed broken state persisting on windows (regression since #4499)
The following exception could occur with Check_MK version shipping werk #4499 (1.2.8p19,
1.4.0b4):
Traceback (most recent call last):
File "cmk-update-agent.py", line 1230, in
File "cmk-update-agent.py", line 255, in main_update
File "cmk-update-agent.py", line 271, in do_update_as_command
File "cmk-update-agent.py", line 319, in do_update_agent
File "cmk-update-agent.py", line 939, in update_deployment_state
File "cmk-update-agent.py", line 925, in write_state_file
WindowsError: [Error 183] Cannot create a file when that file already exists
This issue occured during update and trying to save the new deployment state. It
should be enough to apply the update on the Check_MK server and rebuild the agents.
Change-Id: I3a86f4a24eb595a12cc58f0a5eb173a221185510
---
.werks/4513 | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/.werks/4513 b/.werks/4513
new file mode 100644
index 0000000..3f74dfd
--- /dev/null
+++ b/.werks/4513
@@ -0,0 +1,23 @@
+Title: Agent Updater: Fixed broken state persisting on windows (regression since #4499)
+Level: 1
+Component: agents
+Class: fix
+Compatible: compat
+Edition: cee
+State: unknown
+Version: 1.5.0i1
+Date: 1490604948
+
+The following exception could occur with Check_MK version shipping werk #4499 (1.2.8p19,
1.4.0b4):
+
+Traceback (most recent call last):
+File "cmk-update-agent.py", line 1230, in
+File "cmk-update-agent.py", line 255, in main_update
+File "cmk-update-agent.py", line 271, in do_update_as_command
+File "cmk-update-agent.py", line 319, in do_update_agent
+File "cmk-update-agent.py", line 939, in update_deployment_state
+File "cmk-update-agent.py", line 925, in write_state_file
+WindowsError: [Error 183] Cannot create a file when that file already exists
+
+This issue occured during update and trying to save the new deployment state. It
+should be enough to apply the update on the Check_MK server and rebuild the agents.