nova/releasenotes/notes/per-aggregate-scheduling-weight-7535fd6e8345034d.yaml
Yikun Jiang e66443770d Per aggregate scheduling weight
This spec proposes to add ability to allow users to use
``Aggregate``'s ``metadata`` to override the global config options
for weights to achieve more fine-grained control over resource
weights.

blueprint: per-aggregate-scheduling-weight

Change-Id: I6e15c6507d037ffe263a460441858ed454b02504
2019-01-21 11:48:44 +08:00

16 lines
696 B
YAML

---
features:
- |
Added the ability to allow users to use
``Aggregate``'s ``metadata`` to override the global config options
for weights to achieve more fine-grained control over resource
weights.
Such as, for the CPUWeigher, it weighs hosts based on available vCPUs
on the compute node, and multiplies it by the cpu weight multiplier. If
per-aggregate value (which the key is "cpu_weight_multiplier") is found,
this value would be chosen as the cpu weight multiplier. Otherwise, it
will fall back to the ``[filter_scheduler]/cpu_weight_multiplier``. If
more than one value is found for a host in aggregate metadata, the minimum
value will be used.