HomeClusterLabs Projects

Fix: libpacemaker: Get container attr from assigned node, if any

Description

Fix: libpacemaker: Get container attr from assigned node, if any

promotion_attr_value() should get a container's promotion score from
the host to which it's assigned (if it's been assigned), rather than the
host on which it's running.

Ref T489

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Jun 15 2023, 3:34 AM
Parents
rP770f55b6c909: Refactor: libpe_status: pe_node_attribute_calculated() accepts node type
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task