Werk #15406: Renaming of hosts: Handle TLS agent registrations correctly

Component Setup, site management
Title Renaming of hosts: Handle TLS agent registrations correctly
Date Feb 23, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p23 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When renaming hosts which were registered for TLS-encrypted agent communication, Checkmk ran into the following error:

TypeError: '<' not supported between instances of 'tuple' and 'str'

Furthermore, in distributed setups, renaming TLS-registered hosts which were monitored on remote sites lead to a loss of registration, which prevented any further agent communication until the affected hosts were re-registered.

To the list of all Werks