Pylint no-else-return refactoring: tenth (and so far last) set of files
[check_mk.git] / .werks / 4513
blob3f74dfd9dba931bc24ff2c4396e09a95a703f478
1 Title: Agent Updater: Fixed broken state persisting on windows (regression since #4499)
2 Level: 1
3 Component: agents
4 Class: fix
5 Compatible: compat
6 Edition: cee
7 State: unknown
8 Version: 1.5.0i1
9 Date: 1490604948
11 The following exception could occur with Check_MK version shipping werk #4499 (1.2.8p19, 1.4.0b4):
13 Traceback (most recent call last):
14 File "cmk-update-agent.py", line 1230, in
15 File "cmk-update-agent.py", line 255, in main_update
16 File "cmk-update-agent.py", line 271, in do_update_as_command
17 File "cmk-update-agent.py", line 319, in do_update_agent
18 File "cmk-update-agent.py", line 939, in update_deployment_state
19 File "cmk-update-agent.py", line 925, in write_state_file
20 WindowsError: [Error 183] Cannot create a file when that file already exists
22 This issue occured during update and trying to save the new deployment state. It
23 should be enough to apply the update on the Check_MK server and rebuild the agents.