CMK version:2.3.0.cre
OS version:CentOS Linux release 8.3.2011
Error message:
While update from 2.2.0p14 to 2.3, got below Error. Please help to sort it out.
=================================================================
-| + “Synchronize automationuser secrets” failed
-| Traceback (most recent call last):
-| File “/omd/sites/mom01/lib/python3/cmk/update_config/main.py”, line 262, in update_config
-| action(logger, update_state.setdefault(action.name))
-| File “/omd/sites/mom01/lib/python3/cmk/update_config/plugins/actions/automation_user_secrets.py”, line 56, in call
-| if matches(automation_user_password, password_hash):
-| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-| File “/omd/sites/mom01/lib/python3/cmk/utils/crypto/password_hashing.py”, line 90, in matches
-| return bcrypt.checkpw(password.raw_bytes, password_hash.encode(“utf-8”))
-| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-| ValueError: Invalid salt
==================================================================
Thanks in Advance.
Regards,
DD
alfl
(A. Flora)
July 10, 2024, 4:11pm
2
Did you manage to resolve this issue ? i encounter the same
alfl
(A. Flora)
July 10, 2024, 4:23pm
3
Weird, the error is there but the site just started when running omd start
For what it matters, i went into setup->users->automation and resetted the password
Doesn’t seam to effect other functions
Klaas-Jan
(Klaas-Jan van der Borden)
September 28, 2024, 11:50am
4
Same here,
Ubuntu 22.04 performing update from 2.2.0p34 to 2.3.0p16
-| 13/23 Synchronize automationuser secrets...
-| Automationuser's ('removedusername') secret does not match the password hash in etc/htpasswd. Updating the hash.
-| + "Synchronize automationuser secrets" failed
-| Traceback (most recent call last):
-| File "/omd/sites/ekromon_purdey/lib/python3/cmk/update_config/main.py", line 268, in update_config
-| action(logger, update_state.setdefault(action.name))
-| File "/omd/sites/ekromon_purdey/lib/python3/cmk/update_config/plugins/actions/automation_user_secrets.py", line 56, in __call__
-| if matches(automation_user_password, password_hash):
-| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-| File "/omd/sites/ekromon_purdey/lib/python3/cmk/utils/crypto/password_hashing.py", line 90, in matches
-| return bcrypt.checkpw(password.raw_bytes, password_hash.encode("utf-8"))
-| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-| ValueError: Invalid salt
Am able to start the site without issues.
Klaas-Jan
(Klaas-Jan van der Borden)
October 2, 2024, 3:29pm
5
Hi Dinesh,
I have removed the automation user altogether.
Will recreate after I have upgraded the entire setup.
Maximilian
(Maximilian Wirtz)
December 19, 2024, 4:04pm
6
Hey,
we identified the issue and fixed it with Werk 17343 yet to be released.
Happy holidays
Max
1 Like