@@ -158,68 +158,6 @@ Compute filters
158
158
159
159
The following sections describe the available compute filters.
160
160
161
- .. _AggregateCoreFilter :
162
-
163
- AggregateCoreFilter
164
- -------------------
165
-
166
- .. deprecated :: 20.0.0
167
-
168
- ``AggregateCoreFilter `` is deprecated since the 20.0.0 Train release.
169
- As of the introduction of the placement service in Ocata, the behavior
170
- of this filter :ref: `has changed <bug-1804125 >` and no longer should be used.
171
- In the 18.0.0 Rocky release nova `automatically mirrors `_ host aggregates
172
- to placement aggregates.
173
- In the 19.0.0 Stein release initial allocation ratios support was added
174
- which allows management of the allocation ratios via the placement API in
175
- addition to the existing capability to manage allocation ratios via the nova
176
- config. See `Allocation ratios `_ for details.
177
-
178
- .. _`automatically mirrors` : https://specs.openstack.org/openstack/nova-specs/specs/rocky/implemented/placement-mirror-host-aggregates.html
179
-
180
- Filters host by CPU core count with a per-aggregate ``cpu_allocation_ratio ``
181
- value. If the per-aggregate value is not found, the value falls back to the
182
- global setting. If the host is in more than one aggregate and more than one
183
- value is found, the minimum value will be used.
184
-
185
- Refer to :doc: `/admin/aggregates ` for more information.
186
-
187
- .. important ::
188
-
189
- Note the ``cpu_allocation_ratio `` :ref: `bug 1804125 <bug-1804125 >`
190
- restriction.
191
-
192
-
193
- .. _AggregateDiskFilter :
194
-
195
- AggregateDiskFilter
196
- -------------------
197
-
198
- .. deprecated :: 20.0.0
199
-
200
- ``AggregateDiskFilter `` is deprecated since the 20.0.0 Train release.
201
- As of the introduction of the placement service in Ocata, the behavior
202
- of this filter :ref: `has changed <bug-1804125 >` and no longer should be used.
203
- In the 18.0.0 Rocky release nova `automatically mirrors `_ host aggregates
204
- to placement aggregates.
205
- In the 19.0.0 Stein release initial allocation ratios support was added
206
- which allows management of the allocation ratios via the placement API in
207
- addition to the existing capability to manage allocation ratios via the nova
208
- config. See `Allocation ratios `_ for details.
209
-
210
- Filters host by disk allocation with a per-aggregate ``disk_allocation_ratio ``
211
- value. If the per-aggregate value is not found, the value falls back to the
212
- global setting. If the host is in more than one aggregate and more than one
213
- value is found, the minimum value will be used.
214
-
215
- Refer to :doc: `/admin/aggregates ` for more information.
216
-
217
- .. important ::
218
-
219
- Note the ``disk_allocation_ratio `` :ref: `bug 1804125 <bug-1804125 >`
220
- restriction.
221
-
222
-
223
161
.. _AggregateImagePropertiesIsolation :
224
162
225
163
AggregateImagePropertiesIsolation
@@ -370,37 +308,6 @@ Refer to :doc:`/admin/aggregates` and :ref:`NumInstancesFilter` for more
370
308
information.
371
309
372
310
373
- .. _AggregateRamFilter :
374
-
375
- AggregateRamFilter
376
- ------------------
377
-
378
- .. deprecated :: 20.0.0
379
-
380
- ``AggregateRamFilter `` is deprecated since the 20.0.0 Train release.
381
- As of the introduction of the placement service in Ocata, the behavior
382
- of this filter :ref: `has changed <bug-1804125 >` and no longer should be used.
383
- In the 18.0.0 Rocky release nova `automatically mirrors `_ host aggregates
384
- to placement aggregates.
385
- In the 19.0.0 Stein release initial allocation ratios support was added
386
- which allows management of the allocation ratios via the placement API in
387
- addition to the existing capability to manage allocation ratios via the nova
388
- config. See `Allocation ratios `_ for details.
389
-
390
- Filters host by RAM allocation of instances with a per-aggregate
391
- ``ram_allocation_ratio `` value. If the per-aggregate value is not found, the
392
- value falls back to the global setting. If the host is in more than one
393
- aggregate and thus more than one value is found, the minimum value will be
394
- used.
395
-
396
- Refer to :doc: `/admin/aggregates ` for more information.
397
-
398
- .. important ::
399
-
400
- Note the ``ram_allocation_ratio `` :ref: `bug 1804125 <bug-1804125 >`
401
- restriction.
402
-
403
-
404
311
.. _AggregateTypeAffinityFilter :
405
312
406
313
AggregateTypeAffinityFilter
@@ -689,26 +596,6 @@ PciPassthroughFilter
689
596
The filter schedules instances on a host if the host has devices that meet the
690
597
device requests in the ``extra_specs `` attribute for the flavor.
691
598
692
- RetryFilter
693
- -----------
694
-
695
- .. deprecated :: 20.0.0
696
-
697
- Since the 17.0.0 (Queens) release, the scheduler has provided alternate
698
- hosts for rescheduling so the scheduler does not need to be called during
699
- a reschedule which makes the ``RetryFilter `` useless. See the
700
- `Return Alternate Hosts `_ spec for details.
701
-
702
- Filters out hosts that have already been attempted for scheduling purposes. If
703
- the scheduler selects a host to respond to a service request, and the host
704
- fails to respond to the request, this filter prevents the scheduler from
705
- retrying that host for the service request.
706
-
707
- This filter is only useful if the :oslo.config:option: `scheduler.max_attempts `
708
- configuration option is set to a value greater than one.
709
-
710
- .. _Return Alternate Hosts : https://specs.openstack.org/openstack/nova-specs/specs/queens/implemented/return-alternate-hosts.html
711
-
712
599
SameHostFilter
713
600
--------------
714
601
@@ -1012,23 +899,6 @@ The allocation ratio configuration is used both during reporting of compute
1012
899
node `resource provider inventory `_ to the placement service and during
1013
900
scheduling.
1014
901
1015
- .. _bug-1804125 :
1016
-
1017
- .. note :: Regarding the `AggregateCoreFilter`_, `AggregateDiskFilter`_ and
1018
- `AggregateRamFilter `_, starting in 15.0.0 (Ocata) there is a behavior
1019
- change where aggregate-based overcommit ratios will no longer be honored
1020
- during scheduling for the FilterScheduler. Instead, overcommit values must
1021
- be set on a per-compute-node basis in the Nova configuration files.
1022
-
1023
- If you have been relying on per-aggregate overcommit, during your upgrade,
1024
- you must change to using per-compute-node overcommit ratios in order for
1025
- your scheduling behavior to stay consistent. Otherwise, you may notice
1026
- increased NoValidHost scheduling failures as the aggregate-based overcommit
1027
- is no longer being considered.
1028
-
1029
- See `bug 1804125 <https://bugs.launchpad.net/nova/+bug/1804125 >`_ for more
1030
- details.
1031
-
1032
902
.. _resource provider inventory : https://docs.openstack.org/api-ref/placement/?expanded=#resource-provider-inventories
1033
903
1034
904
Usage scenarios
@@ -1060,8 +930,6 @@ here.
1060
930
1061
931
$ openstack resource provider inventory set --resource VCPU:allocation_ratio=1.0 815a5634-86fb-4e1e-8824-8a631fee3e06
1062
932
1063
- Note the :ref: `bug 1804125 <bug-1804125 >` restriction.
1064
-
1065
933
3. When the deployer wants to **always ** use the placement API to set
1066
934
allocation ratios, then the deployer should ensure that
1067
935
``[DEFAULT]/xxx_allocation_ratio `` options are all set to None (the
0 commit comments