Option "scheduler_default_filters" from group "DEFAULT" is deprecated.

Use option "enabled_filters" from group "filter_scheduler".

Change-Id: I042f0b011c060f9dbc645dbdbb60068cb41c0cc8
This commit is contained in:
caowei 2018-09-11 03:52:05 +00:00 committed by Mark Goddard
parent ae8d085ea7
commit cce2c53ebb

View File

@ -37,21 +37,21 @@ with the same physical network name in this example:
[ml2_type_flat] [ml2_type_flat]
flat_networks = sriovtenant1 flat_networks = sriovtenant1
Add ``PciPassthroughFilter`` to scheduler_default_filters Add ``PciPassthroughFilter`` to enabled_filters
The ``PciPassthroughFilter``, which is required by Nova Scheduler service The ``PciPassthroughFilter``, which is required by Nova Scheduler service
on the Controller, should be added to ``scheduler_default_filters`` on the Controller, should be added to ``enabled_filters``
Modify the ``/etc/kolla/config/nova.conf`` file and add Modify the ``/etc/kolla/config/nova.conf`` file and add
``PciPassthroughFilter`` to ``scheduler_default_filters``. this filter is ``PciPassthroughFilter`` to ``enabled_filters``. this filter is
required by The Nova Scheduler service on the controller node. required by The Nova Scheduler service on the controller node.
.. path /etc/kolla/config/nova.conf .. path /etc/kolla/config/nova.conf
.. code-block:: ini .. code-block:: ini
[DEFAULT] [filter_scheduler]
scheduler_default_filters = <existing filters>, PciPassthroughFilter enabled_filters = <existing filters>, PciPassthroughFilter
scheduler_available_filters = nova.scheduler.filters.all_filters available_filters = nova.scheduler.filters.all_filters
Edit the ``/etc/kolla/config/nova.conf`` file and add PCI device whitelisting. Edit the ``/etc/kolla/config/nova.conf`` file and add PCI device whitelisting.
this is needed by OpenStack Compute service(s) on the Compute. this is needed by OpenStack Compute service(s) on the Compute.
@ -192,9 +192,9 @@ Compute service on the compute node also require the ``alias`` option under the
.. path /etc/kolla/config/nova.conf .. path /etc/kolla/config/nova.conf
.. code-block:: ini .. code-block:: ini
[DEFAULT] [filter_scheduler]
scheduler_default_filters = <existing filters>, PciPassthroughFilter enabled_filters = <existing filters>, PciPassthroughFilter
scheduler_available_filters = nova.scheduler.filters.all_filters available_filters = nova.scheduler.filters.all_filters
[pci] [pci]
passthrough_whitelist = [{"vendor_id": "8086", "product_id": "10fb"}] passthrough_whitelist = [{"vendor_id": "8086", "product_id": "10fb"}]