Werk #12848: Fix remote host renaming timeouts in distributed setups

Komponente Setup
Titel Fix remote host renaming timeouts in distributed setups
Datum 28.07.2021
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.1.0b1 2.0.0p9
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Renaming hosts in general is already executed in a background job to prevent timeouts. But in distributed setups, when renaming a host on a remote site, a longer taking renaming could result in timeout errors. Errors like this could appear:

MKAutomationException: Got invalid data: Your request timed out after 110
seconds. This issue may be related to a local configuration problem or a
request which works with a too large number of objects. But if you think this
issue is a bug, please send a crash report.

With this change also the remote actions are executed asynchronously in a background job and as a result will not result in a timeout anymore.

Zur Liste aller Werks