HomeClusterLabs Projects

Low: scheduler: always add clone constraints to instances' lists

Description

Low: scheduler: always add clone constraints to instances' lists

For compatibility with previous behavior, a clone instance or bundle replica
container gets its parent's colocations only once assignment started.
This means that listing an instance's colocations gets different results
depending on whether assignment has been started.

Now, always add the parent colocations.

No regression tests change, because we don't currently ever check instance
colocations until after assignment starts.

Details

Provenance
kgaillotAuthored on Mar 21 2023, 11:40 AM
Parents
rPe34bfe5ee193: Test: scheduler: update expected scores for logging change
Branches
Unknown
Tags
Unknown