Files
nova/releasenotes/notes/bp-image-metadata-props-weigher-b09125e1837428f5.yaml
Sylvain Bauza 7388362f28 Per-Property ImageMetaPropsWeigher
Add a new config option that will only check specific properties
and allow per-property weights.

Change-Id: Iae51558b9eb03da705e0da939cbd459b4d3b51f7
2025-02-20 03:00:03 +00:00

19 lines
1014 B
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
features:
- |
A new `ImagePropertiesWeigher` has been added. It will compare the number
of image properties of the image being booted for each of the host with how
many existing instances use them. By default this weigher is enabled but
with a value of 0.0 for
`[filter_scheduler]/image_props_weight_multiplier` which
won't modify the existing scheduling behavior.
If you want to pack instances having the same image properties on the same
hosts, modify `image_props_weight_multiplier` to a positive value. If you
want to spread instances with the same properties around all hosts, then
please modify `image_props_weight_multiplier` to a negative value.
Another configuration option
`[filter_scheduler]/image_props_weight_setting` allows you to define
fine-grained weights for each of the properties you actually would like to
weigh (eg. `os_distro`). Please refer to the documentation for more details
about how to use this configuration option.