Werk #12807: hp_msa: Fix TypeError: Unicode-objects must be encoded before hashing

Component Checks & agents
Title hp_msa: Fix TypeError: Unicode-objects must be encoded before hashing
Date Apr 29, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The special agent hp_msa failed to connect with the error message "TypeError: Unicode-objects must be encoded before hashing", because the arguments were not encoded correctly. This fix contains the conversion of the arguments to UTF-8.

To the list of all Werks