Werk #12151: Agent updater fails eventually when proxy environment is set on host

Komponente Agent Bakery
Titel Agent updater fails eventually when proxy environment is set on host
Datum 10.03.2021
Checkmk-Editon Checkmk Enterprise (CEE)
Checkmk-Version 2.0.0p1 2.1.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

In some rare cases, the agent updater may fail on hosts that have a proxy environment configured. I.e., one of the environment variables HTTP_PROXY, HTTPS_PROXY, ALL_PROXY (also lowercase variants) are set.

The agent updater will eventually fail with the following error message, which will be visible at the cmk-update-agent.log:
RuntimeError: dictionary changed size during iteration

This Werk is marked as incompatible, because there may be some manual action needed to overcome this error: If you are experiencing this error, you can temporarily unset the above mentioned environment variable(s) on the affected systems in order to allow the agent updater to run properly and to update itself to the fixed version. Alternatively, you can install a newly baked agent on the system.

Zur Liste aller Werks