HomeClusterLabs Projects

Test: cts-scheduler: add test for "primitive with group with promoted role"

Description

Test: cts-scheduler: add test for "primitive with group with promoted role"

The essential elements of this test are:

  • A primitive is colocated with a group colocated with a clone's promoted role
  • The clone is assigned first
  • The clone can't run on all nodes (clone-max=3 with 5 nodes)
  • The clone has equal promotion scores on all nodes
  • The primitive has a finite location constraint preferring node5

With the current code, the primitive's location preference is wrongly ignored,
and the clone instances get assigned to node2, node3, and node4.

Details

Provenance
kgaillotAuthored on Nov 30 2022, 6:23 PM
Parents
rP552254c70a72: Test: cts-scheduler: add test for "primitive with group with clone"
Branches
Unknown
Tags
Unknown