master
stable/victoria
stable/yoga
stable/wallaby
stable/xena
stable/zed
stable/2023.1
stable/train
stable/ussuri
27.1.0
26.2.0
25.2.0
26.1.1
25.1.1
xena-em
24.2.1
27.0.0
27.0.0.0rc1
26.1.0
25.1.0
24.2.0
stein-eol
rocky-eol
queens-eol
wallaby-em
23.2.2
26.0.0
26.0.0.0rc2
26.0.0.0rc1
pike-eol
24.1.1
23.2.1
25.0.1
victoria-em
25.0.0
25.0.0.0rc1
24.1.0
23.2.0
22.4.0
ussuri-em
21.2.4
21.2.3
23.1.0
22.3.0
24.0.0
24.0.0.0rc2
24.0.0.0rc1
21.2.2
22.2.2
23.0.2
ocata-eol
train-em
20.6.1
22.2.1
23.0.1
21.2.1
23.0.0
23.0.0.0rc2
23.0.0.0rc1
20.6.0
22.2.0
21.2.0
21.1.2
22.1.0
20.5.0
stein-em
22.0.1
20.4.1
19.3.2
21.1.1
22.0.0
22.0.0.0rc1
19.3.1
20.4.0
21.1.0
19.3.0
20.3.0
21.0.0
21.0.0.0rc2
19.2.0
21.0.0.0rc1
20.2.0
rocky-em
18.3.0
20.1.1
19.1.0
20.1.0
20.0.1
queens-em
17.0.13
20.0.0
18.2.3
20.0.0.0rc2
19.0.3
20.0.0.0rc1
17.0.12
18.2.2
19.0.2
17.0.11
18.2.1
19.0.1
pike-em
16.1.8
19.0.0
19.0.0.0rc2
18.2.0
17.0.10
19.0.0.0rc1
17.0.9
16.1.7
17.0.8
18.1.0
18.0.3
ocata-em
17.0.7
15.1.5
16.1.6
18.0.2
15.1.4
18.0.1
17.0.6
16.1.5
18.0.0
18.0.0.0rc3
18.0.0.0rc2
18.0.0.0rc1
18.0.0.0b3
15.1.3
18.0.0.0b2
16.1.4
17.0.5
15.1.2
16.1.3
17.0.4
15.1.1
17.0.3
16.1.2
18.0.0.0b1
16.1.1
17.0.2
17.0.1
17.0.0
17.0.0.0rc3
2011.1
2010.1
17.0.0.0rc2
16.1.0
17.0.0.0rc1
newton-eol
17.0.0.0b3
14.1.0
15.1.0
16.0.4
17.0.0.0b2
14.0.10
16.0.3
15.0.8
14.0.9
16.0.2
17.0.0.0b1
16.0.1
16.0.0
14.0.8
16.0.0.0rc2
15.0.7
16.0.0.0rc1
16.0.0.0b3
mitaka-eol
15.0.6
16.0.0.0b2
14.0.7
15.0.5
14.0.6
15.0.4
16.0.0.0b1
15.0.3
15.0.2
14.0.5
13.1.4
15.0.1
13.1.3
14.0.4
15.0.0
15.0.0.0rc2
15.0.0.0rc1
15.0.0.0b3
14.0.3
15.0.0.0b2
liberty-eol
12.0.6
15.0.0.0b1
14.0.2
14.0.1
13.1.2
14.0.0
12.0.5
14.0.0.0rc2
14.0.0.0rc1
14.0.0.0b3
13.1.1
14.0.0.0b2
13.1.0
12.0.4
14.0.0.0b1
kilo-eol
2015.1.4
12.0.3
13.0.0
13.0.0.0rc3
13.0.0.0rc2
13.0.0.0rc1
12.0.2
13.0.0.0b3
2015.1.3
13.0.0.0b2
12.0.1
juno-eol
13.0.0.0b1
2014.2.4
12.0.0
12.0.0.0rc3
2015.1.2
12.0.0.0rc2
12.0.0.0rc1
12.0.0.0b3
2015.1.1
12.0.0.0b2
icehouse-eol
12.0.0.0b1
2014.1.5
12.0.0a0
2015.1.0
2015.1.0rc3
2015.1.0rc2
2015.1.0rc1
2014.2.3
2015.1.0b3
2014.1.4
2015.1.0b2
2014.2.2
2015.1.0b1
2014.2.1
2014.2
2014.2.rc2
2014.1.3
2014.2.rc1
havana-eol
2013.2.4
2014.2.b3
2014.1.2
2014.2.b2
2014.2.b1
2014.1.1
2014.1
2014.1.rc2
2013.2.3
2014.1.rc1
grizzly-eol
2013.1.5
2014.1.b3
2013.2.2
2014.1.b2
2013.2.1
2014.1.b1
folsom-eol
2013.1.4
2013.2
2013.2.rc2
2013.2.rc1
2013.2.b3
2013.1.3
2013.2.b2
2013.1.2
2013.2.b1
2013.1.1
essex-eol
diablo-eol
2012.2.4
2013.1
2013.1.rc2
2013.1.rc1
2013.1.g3
2012.2.3
grizzly-2
2012.2.2
2012.2.1
grizzly-1
2012.1.3
2012.2
folsom-rc3
folsom-rc2
folsom-rc1
folsom-3
2012.1.2
folsom-2
2012.1.1
folsom-1
2012.1
essex-rc4
essex-rc3
essex-rc2
essex-rc1
0.9.0
2011.1rc1
2011.2
2011.2gamma1
2011.2rc1
2011.3
2011.3.1
diablo-1
diablo-2
diablo-3
diablo-4
essex-1
essex-2
essex-3
essex-4
${ noResults }
11 Commits (master)
Author | SHA1 | Message | Date |
---|---|---|---|
![]() |
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 |
4 years ago |
![]() |
5dbdd6ed2b |
Config options: centralize section "scheduler"
This change moves all of the configuration options previously defined in nova/scheduler to the new centralized nova/conf/scheduler directory. A subsequent patch will then improve the help texts. Blueprint centralize-config-options Change-Id: I08d50e873f71601a26ce768feac635243d0570f4 |
8 years ago |
![]() |
ccea5d6b0a |
Fix NoneType error when calling MetricsWeigher
Given that dict comprehensions don't allow to have None as a list, we had a problem with the Ironic gate-ironic-inspector-dsvm job because host_state.metrics was set to None by default. Adding a unittest to make sure we don't regress. Closes-Bug: #1499271 Change-Id: I6e3104bbd9b9865ec2dcc724c2f56da6d0b2b687 |
8 years ago |
![]() |
fd2b868d41 |
Fix MetricWeigher to use MonitorMetricList
The commit I4dfbea27ce6c3eecc1a8658b1f9dc0feb2298705 changes 'HostState.metrics' to 'objects.MonitorMetricList'. But MetricWeigher still use the old dictionary of 'host_manager.MetricItem'. This patch corrects the behavior of MetricWeigher with related tests, and delete unused MetricItem. Co-Authored-By: Sylvain Bauza <sbauza@redhat.com> Change-Id: I7c98c2e189318e85a733f0287ef507c7bad36472 Closes-Bug: #1493680 |
8 years ago |
![]() |
af2d6c9576 |
Switch to using oslo_* instead of oslo.*
The oslo team is recommending everyone to switch to the non-namespaced versions of libraries. Updating the hacking rule to include a check to prevent oslo.* import from creeping back in. This commit includes: - using oslo_utils instead of oslo.utils - using oslo_serialization instead of oslo.serialization - using oslo_db instead of oslo.db - using oslo_i18n instead of oslo.i18n - using oslo_middleware instead of oslo.middleware - using oslo_config instead of oslo.config - using oslo_messaging instead of "from oslo import messaging" - using oslo_vmware instead of oslo.vmware Change-Id: I3e2eb147b321ce3e928817b62abcb7d023c5f13f |
8 years ago |
![]() |
717f849b60 |
MetricsWeigher: Added support of unavailable metrics
This patch added the support of unavailable metrics in the metric weigher. Based on the configuration, if an unavailable metric is met, the metric weigher might either throw an exception, or return an configurable weight value. This is part of the blueprint utilization-aware-scheduling. DocImpact: Added support of unavailable metrics. 2 new config options are added, 1) 'required' is a boolean option indicating whether all the metrics set by 'weight_setting' are needed to be available when calculating the weight. 2) 'weight_of_unavailable' is a float option specifying the value to be returned if the metrics is unavailable. See etc/nova/nova.conf.sample for details. Change-Id: Icb951605aae28487b00a12d172a3ac4dafda2cdb |
9 years ago |
![]() |
80af73c36b | Merge "Corrected typo in metrics" | 9 years ago |
![]() |
e8faf3a2a6 |
Added a new scheduler filter for metrics
The scheduler filter MetricsFilter filters out those hosts which don't have the metrics data available as required by metric settings. This is part of the blueprint utilization-aware-scheduling. DocImpact: Added a new metrics filter. Change-Id: Ib4a898774daf683c4496ef3e9953d23027f11ac0 |
10 years ago |
![]() |
66ada2800b |
Corrected typo in metrics
Change-Id: If23292d83776be50f22f45c849fd45b7b04da7d9 |
10 years ago |
![]() |
e5ba849437 |
Normalize the weights instead of using raw values
The weight system is being used by the scheduler and the cells code. Currently this system is using the raw values instead of normalizing them. This makes difficult to properly use multipliers for establishing the relative importance between two wheighers (one big magnitude could shade a smaller one). This change introduces weight normalization so that: - From an operator point of view we can prioritize the weighers that we are applying. The only way to do this is being sure that all the weighers will give a value in a known range, so that it is not needed to artificially use a huge multiplier to prioritize a weigher. - From a weigher developer point of view, somebody willing to implement one has to care about 1) returning a list of values, 2) setting the minimum and maximum values where the weights can range, if they are needed and they are significant for the weighing. For a weigher developer there are two use cases: Case 1: Use of a percentage instead of absolute values (for example, % of free RAM). If we compare two nodes focusing on the percentage of free ram, the maximum value for the weigher is 100. If we have two nodes one with 2048 total/1024 free, and the second one 1024 total/512 free they will get both the same weight, since they have the same % of free RAM (that is, the 50%). Case 2: Use of absolute values. In this case, the maximum of the weigher will be the maximum of the values in the list (in the case above, 1024) or the maximum value that the magnitude could take (in the case above, 2048). How this maximum is set, is a decision of the developer. He may let the operator choose the behaviour of the weigher though. - From the point of view of the scheduler we ensure that it is using normalized values, and not leveraging the normalization mechanism to the weighers. Changes introduced this commit: 1) it introduces weight normalization so that we can apply multipliers easily. All the weights for an object will be normalized between 0.0 and 1.0 before being sumed up, so that the final weight for a host will be: weight = w1_multiplier * norm(w1) + w2_multiplier * norm(w2) + ... 2) weights.BaseWeigher has been changed into an ABC so that we enforce that all weighers have the expected methods. 3) weights.BaseWeigher.weigh_objects() does no longer sum up the computer weighs to the object, but it rather returns a list that will be then normalized and added to the existing weight by BaseWeightHandler 4) Adapt the existing weighers to the above changes. Namely - New 'offset_weight_multiplier' for the cell weigher nova.cells.weights.weight_offset.WeightOffsetWeigher - Changed the name of the existing multiplier methods. 5) unittests for all of the introduced changes. Implements blueprint normalize-scheduler-weights DocImpact: Now weights for an object are normalized before suming them up. This means that each weigher will take a maximum value of 1. This may have an impact for operators that are using more than one weigher (currently there is only one weigher: RAMWeiger) and for operators using cells (where we have several weighers). It is needed to review then the multipliers used and adjust them properly in case they have been modified. Docimpact: There is a new configuration option 'offset_weight_multiplier' in nova.cells.weights.weight_offset.WeightOffsetWeigher Change-Id: I81bf90898d3cb81541f4390596823cc00106eb20 |
10 years ago |
![]() |
bc32777e73 |
Added a new scheduler metrics weight plugin
The new metrics weigher can compute the weight based on the compute node host's metrics data. The to-be weighed metrics and their weighing ratio are specified in the configuration file as the followings: metrics_weight_setting = name1=1.0,name2=-1.0 The final weight would be name1.value * 1.0 + name2.value * (-1.0). This is part of the blueprint utilization-aware-scheduling. DocImpact Change-Id: Ib3e68505e6d4d8f6d67b54c5f00de3e1c172738c |
10 years ago |