Filters Backends by availability zone.
BackendFilter to work with resource (instance & volume) type records.
Capacity filters based on volume backend’s capacity utilization.
Schedule volume on a different back-end from a set of volumes.
DriverFilter filters backend based on a ‘filter function’ and metrics.
DriverFilter filters based on volume backend’s provided ‘filter function’ and metrics.
Schedule volume on the same host as a given instance.
This filter enables selection of a storage back-end located on the host where the instance’s hypervisor is running. This provides data locality: the instance and the volume are located on the same physical machine.
In order to work:
Backend filter for simple JSON-based grammar for selecting backends.
Filter out previously attempted hosts
A host passes this filter if it has not already been attempted for scheduling. The scheduler needs to add previously attempted hosts to the ‘retry’ key of filter_properties in order for this to work correctly. For example:
{
'retry': {
'backends': ['backend1', 'backend2'],
'num_attempts': 3,
}
}
Schedule volume on the same back-end as another volume.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.