Werk #12709: agent_proxmox_ve: Crash with KeyError('started_time') when corresponding backup job failed

Component Checks & agents
Title agent_proxmox_ve: Crash with KeyError('started_time') when corresponding backup job failed
Date Apr 13, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p4 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

In case a backup job failed, unfinished VM backup logs do not contain started_time, which would result in unhandled KeyError('started_time') when sorting backup entries. This change will make agent_proxmox_ve use the time the job failed at as started_time for each VM in order to be able to assign a failed backup to a certain point in time.

To the list of all Werks