CMK version: 2.2.0p18
OS version: all
Error message: assert password_hash is not None
Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)
Hello.
During the update to 2.2.0p18 the given error ocurr:
-| 18/24 Synchronize automationuser secrets...
-| + "Synchronize automationuser secrets" failed
-| Traceback (most recent call last):
-| File "/omd/sites/server/lib/python3/cmk/update_config/main.py", line 223, in __call__
-| action(self._logger, self.update_state.setdefault(action.name))
-| File "/omd/sites/server/lib/python3/cmk/update_config/plugins/actions/automation_user_secrets.py", line 46, in __call__
-| assert password_hash is not None
-| ^^^^^^^^^^^^^^^^^^^^^^^^^
-| AssertionError
The checkmk distibuted environment was multiple updated from 2.1.0 to 2.2.0. Last used patch was 2.0.0p12. Same errer on appliance.
My workaround to fix the error is:
cmk-password automation
After that, the error will not occur again. Can someone confirm it?
Rg, Christian