HomeClusterLabs Projects

Low: scheduler: improve migration history validation

Description

Low: scheduler: improve migration history validation

Instead of a simple CRM_CHECK(), functionize parsing the source and target node
names from a migration action's resource history entry. This reduces
duplication and allows us to log more helpful errors.

Also, CRM_CHECK() tries to dump core for debugging, and that's not helpful for
corrupted CIB entries.

Details

Provenance
kgaillotAuthored on Feb 1 2023, 1:08 PM
Parents
rP36dcc873aba2: Log: scheduler: improve trace logs when unpacking resource history
Branches
Unknown
Tags
Unknown