Werk #13406: agent_vsphere: KeyError: runtime.host

Component Checks & agents
Title agent_vsphere: KeyError: runtime.host
Date Feb 1, 2022
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.0p20 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Before this werk the special agent agent_vsphere crashed when it was executed while a virtual machine is cloned. The freshly cloned virtual machine is not assigned to any vmware host, and thus can not be reporetd.

If a virtual machine is reported to have no vmware host, the virtual machine is now ignored and a message is printed to stderr.

To the list of all Werks