@@ -853,7 +853,6 @@ Hosts are weighted based on the following config options:
853
853
- :oslo.config:option: `filter_scheduler.host_subset_size `
854
854
- :oslo.config:option: `filter_scheduler.weight_classes `
855
855
856
-
857
856
``RAMWeigher ``
858
857
~~~~~~~~~~~~~~
859
858
@@ -870,7 +869,6 @@ back to the :oslo.config:option:`filter_scheduler.ram_weight_multiplier`.
870
869
If more than one value is found for a host in aggregate metadata, the minimum
871
870
value will be used.
872
871
873
-
874
872
``CPUWeigher ``
875
873
~~~~~~~~~~~~~~
876
874
@@ -887,7 +885,6 @@ back to the :oslo.config:option:`filter_scheduler.cpu_weight_multiplier`. If
887
885
more than one value is found for a host in aggregate metadata, the minimum
888
886
value will be used.
889
887
890
-
891
888
``DiskWeigher ``
892
889
~~~~~~~~~~~~~~~
893
890
@@ -902,7 +899,6 @@ back to the :oslo.config:option:`filter_scheduler.disk_weight_multiplier`. If
902
899
more than one value is found for a host in aggregate metadata, the minimum value
903
900
will be used.
904
901
905
-
906
902
``MetricsWeigher ``
907
903
~~~~~~~~~~~~~~~~~~
908
904
@@ -929,14 +925,17 @@ metrics weight multiplier. Otherwise, it will fall back to the
929
925
one value is found for a host in aggregate metadata, the minimum value will
930
926
be used.
931
927
932
-
933
928
``IoOpsWeigher ``
934
929
~~~~~~~~~~~~~~~~
935
930
936
- The weigher can compute the weight based on the compute node
937
- host's workload. The default is to preferably choose light workload compute
938
- hosts. If the multiplier is positive, the weigher prefer choosing heavy
939
- workload compute hosts, the weighing has the opposite effect of the default.
931
+ The weigher can compute the weight based on the compute node host's workload.
932
+ This is calculated by examining the number of instances in the ``building ``
933
+ ``vm_state `` or in one of the following ``task_state ``\ 's:
934
+ ``resize_migrating ``, ``rebuilding ``, ``resize_prep ``, ``image_snapshot ``,
935
+ ``image_backup ``, ``rescuing ``, or ``unshelving ``.
936
+ The default is to preferably choose light workload compute hosts. If the
937
+ multiplier is positive, the weigher prefers choosing heavy workload compute
938
+ hosts, the weighing has the opposite effect of the default.
940
939
941
940
Starting with the Stein release, if per-aggregate value with the key
942
941
``io_ops_weight_multiplier `` is found, this
@@ -1006,6 +1005,8 @@ the
1006
1005
If more than one value is found for a host in aggregate metadata, the minimum
1007
1006
value will be used.
1008
1007
1008
+ .. _build-failure-weigher :
1009
+
1009
1010
``BuildFailureWeigher ``
1010
1011
~~~~~~~~~~~~~~~~~~~~~~~
1011
1012
@@ -1020,6 +1021,17 @@ build failure weight multiplier. Otherwise, it will fall back to the
1020
1021
more than one value is found for a host in aggregate metadata, the minimum
1021
1022
value will be used.
1022
1023
1024
+ .. important ::
1025
+
1026
+ The :oslo.config:option: `filter_scheduler.build_failure_weight_multiplier `
1027
+ option defaults to a very high value. This is intended to offset weight
1028
+ given by other enabled weighers due to available resources, giving this
1029
+ weigher priority. However, not all build failures imply a problem with the
1030
+ host itself - it could be user error - but the failure will still be
1031
+ counted. If you find hosts are frequently reporting build failures and
1032
+ effectively being excluded during scheduling, you may wish to lower the
1033
+ value of the multiplier.
1034
+
1023
1035
.. _cross-cell-weigher :
1024
1036
1025
1037
``CrossCellWeigher ``
@@ -1028,11 +1040,11 @@ value will be used.
1028
1040
.. versionadded :: 21.0.0 (Ussuri)
1029
1041
1030
1042
Weighs hosts based on which cell they are in. "Local" cells are preferred when
1031
- moving an instance. Use configuration option
1032
- :oslo.config:option: ` filter_scheduler.cross_cell_move_weight_multiplier ` to
1033
- control the weight. If per-aggregate value with the key
1034
- ` cross_cell_move_weight_multiplier ` is found, this value would be chosen as the
1035
- cross-cell move weight multiplier. Otherwise, it will fall back to the
1043
+ moving an instance.
1044
+
1045
+ If per-aggregate value with the key ` cross_cell_move_weight_multiplier ` is
1046
+ found, this value would be chosen as the cross-cell move weight multiplier.
1047
+ Otherwise, it will fall back to the
1036
1048
:oslo.config:option: `filter_scheduler.cross_cell_move_weight_multiplier `. If
1037
1049
more than one value is found for a host in aggregate metadata, the minimum
1038
1050
value will be used.
0 commit comments