From cce2c53ebb64889184a03da4ec00b4bc3282c166 Mon Sep 17 00:00:00 2001 From: caowei Date: Tue, 11 Sep 2018 03:52:05 +0000 Subject: [PATCH] Option "scheduler_default_filters" from group "DEFAULT" is deprecated. Use option "enabled_filters" from group "filter_scheduler". Change-Id: I042f0b011c060f9dbc645dbdbb60068cb41c0cc8 --- doc/source/reference/networking/sriov.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/source/reference/networking/sriov.rst b/doc/source/reference/networking/sriov.rst index be92c6d71f..36251038ea 100644 --- a/doc/source/reference/networking/sriov.rst +++ b/doc/source/reference/networking/sriov.rst @@ -37,21 +37,21 @@ with the same physical network name in this example: [ml2_type_flat] flat_networks = sriovtenant1 -Add ``PciPassthroughFilter`` to scheduler_default_filters +Add ``PciPassthroughFilter`` to enabled_filters 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 -``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. .. path /etc/kolla/config/nova.conf .. code-block:: ini - [DEFAULT] - scheduler_default_filters = , PciPassthroughFilter - scheduler_available_filters = nova.scheduler.filters.all_filters + [filter_scheduler] + enabled_filters = , PciPassthroughFilter + available_filters = nova.scheduler.filters.all_filters Edit the ``/etc/kolla/config/nova.conf`` file and add PCI device whitelisting. 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 .. code-block:: ini - [DEFAULT] - scheduler_default_filters = , PciPassthroughFilter - scheduler_available_filters = nova.scheduler.filters.all_filters + [filter_scheduler] + enabled_filters = , PciPassthroughFilter + available_filters = nova.scheduler.filters.all_filters [pci] passthrough_whitelist = [{"vendor_id": "8086", "product_id": "10fb"}]