[config-ref] add Compute cell scheduling filters
backport: mitaka liberty Change-Id: Idbf3190319ab04c172dac41b66296b47c7ea1043 Closes-Bug: #1538292
This commit is contained in:
parent
c29e3e8c15
commit
356fc08f16
|
@ -62,6 +62,8 @@ see `Evacuate instances <http://docs.openstack.org/admin-guide/
|
|||
compute-node-down.html#evacuate-instances>`_ section of the
|
||||
OpenStack Administrator Guide.
|
||||
|
||||
.. _compute-scheduler-filters:
|
||||
|
||||
Filter scheduler
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
|
@ -70,11 +72,6 @@ is the default scheduler for scheduling virtual machine instances.
|
|||
It supports filtering and weighting to make informed decisions on
|
||||
where a new instance should be created.
|
||||
|
||||
.. _compute-scheduler-filters:
|
||||
|
||||
Filters
|
||||
~~~~~~~
|
||||
|
||||
When the filter scheduler receives a request for a resource, it first
|
||||
applies filters to determine which hosts are eligible for consideration
|
||||
when dispatching a resource. Filters are binary: either a host is
|
||||
|
@ -113,7 +110,10 @@ service. The default filters are:
|
|||
|
||||
scheduler_default_filters = RetryFilter, AvailabilityZoneFilter, RamFilter, ComputeFilter, ComputeCapabilitiesFilter, ImagePropertiesFilter, ServerGroupAntiAffinityFilter, ServerGroupAffinityFilter
|
||||
|
||||
The following sections describe the available filters.
|
||||
Compute filters
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
The following sections describe the available compute filters.
|
||||
|
||||
AggregateCoreFilter
|
||||
-------------------
|
||||
|
@ -801,6 +801,31 @@ Dynamically limits hosts to one instance type. An instance can only be
|
|||
launched on a host, if no instance with different instances types
|
||||
are running on it, or if the host has no running instances at all.
|
||||
|
||||
Cell filters
|
||||
~~~~~~~~~~~~
|
||||
|
||||
The following sections describe the available cell filters.
|
||||
|
||||
DifferentCellFilter
|
||||
-------------------
|
||||
|
||||
Schedules the instance on a different cell from a set of instances.
|
||||
To take advantage of this filter, the requester must pass a scheduler hint,
|
||||
using ``different_cell`` as the key and a list of instance UUIDs as the value.
|
||||
|
||||
ImagePropertiesFilter
|
||||
---------------------
|
||||
|
||||
Filters cells based on properties defined on the instance’s image.
|
||||
This filter works specifying the hypervisor required in the image
|
||||
metadata and the supported hypervisor version in cell capabilities.
|
||||
|
||||
TargetCellFilter
|
||||
----------------
|
||||
|
||||
Filters target cells. This filter works by specifying a scheduler
|
||||
hint of ``target_cell``. The value should be the full cell path.
|
||||
|
||||
.. _weights:
|
||||
|
||||
Weights
|
||||
|
|
Loading…
Reference in New Issue