Update nova overrides to enable affinity weigher
Affinity weigher is required to support soft-anti-affinity and soft-affinity server group policies in nova. Set to a relatively high mulitplier of 20 to ensure that this criteria predominates the host selection. Adjust other weigher multipliers accordingly: io_ops: remove override to let it use default value of -1. Old -5 setting was related to discontinued stx-nova patch in previous stx release. cpu & build_failure: disable similar to ram, disk & pci. Also enable shuffle_best_same_weighed_hosts to randomize host selection where weights are equal across multiple hosts. Change-Id: I28f92a7c703d1b78d5cab93418359ce164e61066 Closes-Bug: 1834255 Signed-off-by: Gerry Kopec <gerry.kopec@windriver.com>
This commit is contained in:
parent
8d39303a5b
commit
314890983d
|
@ -988,6 +988,8 @@ data:
|
||||||
notifications:
|
notifications:
|
||||||
notification_format: unversioned
|
notification_format: unversioned
|
||||||
filter_scheduler:
|
filter_scheduler:
|
||||||
|
build_failure_weight_multiplier: 0.0
|
||||||
|
cpu_weight_multiplier: 0.0
|
||||||
disk_weight_multiplier: 0.0
|
disk_weight_multiplier: 0.0
|
||||||
enabled_filters:
|
enabled_filters:
|
||||||
- RetryFilter
|
- RetryFilter
|
||||||
|
@ -1000,11 +1002,11 @@ data:
|
||||||
- ServerGroupAffinityFilter
|
- ServerGroupAffinityFilter
|
||||||
- ServerGroupAntiAffinityFilter
|
- ServerGroupAntiAffinityFilter
|
||||||
- PciPassthroughFilter
|
- PciPassthroughFilter
|
||||||
io_ops_weight_multiplier: -5.0
|
|
||||||
pci_weight_multiplier: 0.0
|
pci_weight_multiplier: 0.0
|
||||||
ram_weight_multiplier: 0.0
|
ram_weight_multiplier: 0.0
|
||||||
soft_affinity_weight_multiplier: 0.0
|
shuffle_best_same_weighed_hosts: true
|
||||||
soft_anti_affinity_weight_multiplier: 0.0
|
soft_affinity_weight_multiplier: 20.0
|
||||||
|
soft_anti_affinity_weight_multiplier: 20.0
|
||||||
scheduler:
|
scheduler:
|
||||||
workers: 1
|
workers: 1
|
||||||
discover_hosts_in_cells_interval: 30
|
discover_hosts_in_cells_interval: 30
|
||||||
|
|
Loading…
Reference in New Issue