HomeClusterLabs Projects

Fix: scheduler: ignore ticket constraints with invalid roles

Description

Fix: scheduler: ignore ticket constraints with invalid roles

Previously, rsc_ticket_new() would silently ignore invalid roles.
Now, it logs a configuration error and ignores the entire ticket
constraint.

Also, assert on memory allocation failure.

Details

Provenance
kgaillotAuthored on Jan 10 2024, 7:13 PM
Parents
rPf8c0f70d2b2a: Fix: scheduler: ignore colocation constraints with invalid roles
Branches
Unknown
Tags
Unknown