HomeClusterLabs Projects

Fix: scheduler: consider roles when blocking colocation dependents

Description

Fix: scheduler: consider roles when blocking colocation dependents

Previously, if a resource's start action was unrunnable,
pcmk__block_colocated_starts() would ensure that starts of all resources
colocated with that resource are also unrunnable.

However, this was incorrect when a colocation's primary or dependent role is
not started. Properly consider both roles when deciding what to block.

Details

Provenance
kgaillotAuthored on Nov 10 2022, 1:35 PM
Parents
rP8290289d7fec: Test: cts-scheduler: add regression test for promoted role with blocked resource
Branches
Unknown
Tags
Unknown