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

Component Setup
Title Fix remote host renaming timeouts in distributed setups
Date Jul 28, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0b1 2.0.0p9
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks