Skip to content

Commit b542b53

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Doc follow up for PCI in placement"
2 parents 36091a7 + efb6fd8 commit b542b53

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

doc/source/admin/pci-passthrough.rst

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,20 @@ capabilities.
5151
Nova will ignore PCI devices reported by the hypervisor if the address is
5252
outside of these ranges.
5353

54+
.. versionchanged:: 26.0.0 (Zed):
55+
PCI passthrough device inventories now can be tracked in Placement.
56+
For more information, refer to :ref:`pci-tracking-in-placement`.
57+
58+
.. versionchanged:: 26.0.0 (Zed):
59+
The nova-compute service will refuse to start if both the parent PF and its
60+
children VFs are configured in :oslo.config:option:`pci.device_spec`.
61+
For more information, refer to :ref:`pci-tracking-in-placement`.
62+
63+
.. versionchanged:: 26.0.0 (Zed):
64+
The nova-compute service will refuse to start with
65+
:oslo.config:option:`pci.device_spec` configuration that uses the
66+
``devname`` field.
67+
5468
Enabling PCI passthrough
5569
------------------------
5670

@@ -348,6 +362,7 @@ You can also configure this for PCI passthrough devices by specifying the
348362
policy in the alias configuration via :oslo.config:option:`pci.alias`. For more
349363
information, refer to :oslo.config:option:`the documentation <pci.alias>`.
350364

365+
.. _pci-tracking-in-placement:
351366

352367
PCI tracking in Placement
353368
-------------------------
@@ -402,13 +417,13 @@ be added to the resource provider representing the matching PCI devices.
402417
(Zed) the nova-compute service will refuse to start with such configuration.
403418
It is suggested to use the PCI address of the device instead.
404419

405-
The nova-compute service makes sure that already existing instances with PCI
420+
The nova-compute service makes sure that existing instances with PCI
406421
allocations in the nova DB will have a corresponding PCI allocation in
407422
placement. This allocation healing also acts on any new instances regardless of
408423
the status of the scheduling part of this feature to make sure that the nova
409424
DB and placement are in sync. There is one limitation of the healing logic.
410425
It assumes that there is no in-progress migration when the nova-compute service
411-
is upgraded. If there is an in-progress migration, then the PCI allocation on
426+
is upgraded. If there is an in-progress migration then the PCI allocation on
412427
the source host of the migration will not be healed. The placement view will be
413428
consistent after such migration is completed or reverted.
414429

@@ -417,7 +432,7 @@ Reconfiguring the PCI devices on the hypervisor or changing the
417432
nova-compute service is supported in the following cases:
418433

419434
* new devices are added
420-
* devices without allocation is removed
435+
* devices without allocation are removed
421436

422437
Removing a device that has allocations is not supported. If a device having any
423438
allocation is removed then the nova-compute service will keep the device and

releasenotes/notes/bp-pci-device-tracking-in-placement-75ee1d20a57662f2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
features:
33
- |
44
Nova started tracking PCI devices in Placement. This is an optional feature
5-
disable by default while we are implementing inventory tracking and
5+
disabled by default while we are implementing inventory tracking and
66
scheduling support for both PCI passthrough devices and SR-IOV devices
77
consumed via Neutron ports. Please read our
88
`documentation <https://docs.openstack.org/nova/latest/admin/pci-passthrough.html#pci-tracking-in-placement>`_

0 commit comments

Comments
 (0)