HomeClusterLabs Projects

Log: pengine: improve messages when assigning resources to nodes

Description

Log: pengine: improve messages when assigning resources to nodes

Most significantly, native_choose_node() was off by one when counting
equal-weighted nodes, so no message would be logged when there were two.

This also refactors for efficiency and readability.

The only behavioral change is that when comparing the chosen node against
allowed nodes of equal weight, allowed nodes that can't run resources won't be
counted.

Details

Provenance
kgaillotAuthored on Oct 17 2017, 5:37 PM
Parents
rP36d2962a8613: Doc: update change log for 1.1.18-rc3
Branches
Unknown
Tags
Unknown

Event Timeline