Werk #12709: agent_proxmox_ve: Crash with KeyError('started_time') when corresponding backup job failed
Komponente | Checks & agents |
Titel | agent_proxmox_ve: Crash with KeyError('started_time') when corresponding backup job failed |
Datum | 13.04.2021 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.0.0p4 2.1.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.