953f1eef19
A new PCI resource handler is added to the update_available_resources code path update the ProviderTree with PCI device RPs, inventories and traits. It is a bit different than the other Placement inventory reporter. It does not run in the virt driver level as PCI is tracked in a generic way in the PCI tracker in the resource tracker. So the virt specific information is already parsed and abstracted by the resource tracker. Another difference is that to support rolling upgrade the PCI handler code needs to be prepared for situations where the scheduler does not create PCI allocations even after some of the compute already started reporting inventories and started healing PCI allocations. So the code is not prepared to do a single, one shot, reshape at startup, but instead to do a continuous healing of the allocations. We can remove this continuous healing after the PCI prefilter will be made mandatory in a future release. The whole PCI placement reporting behavior is disabled by default while it is incomplete. When it is functionally complete a new [pci]report_in_placement config option will be added to allow enabling the feature. This config is intentionally not added by this patch as we don't want to allow enabling this logic yet. blueprint: pci-device-tracking-in-placement Change-Id: If975c3ec09ffa95f647eb4419874aa8417a59721
21 lines
514 B
Plaintext
21 lines
514 B
Plaintext
nova/compute/manager.py
|
|
nova/compute/pci_placement_translator.py
|
|
nova/crypto.py
|
|
nova/limit/local.py
|
|
nova/limit/placement.py
|
|
nova/network/neutron.py
|
|
nova/pci
|
|
nova/privsep/path.py
|
|
nova/scheduler/client/report.py
|
|
nova/scheduler/request_filter.py
|
|
nova/scheduler/utils.py
|
|
nova/virt/driver.py
|
|
nova/virt/hardware.py
|
|
nova/virt/libvirt/machine_type_utils.py
|
|
nova/virt/libvirt/__init__.py
|
|
nova/virt/libvirt/driver.py
|
|
nova/virt/libvirt/event.py
|
|
nova/virt/libvirt/guest.py
|
|
nova/virt/libvirt/host.py
|
|
nova/virt/libvirt/utils.py
|