You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix pci.alilas/reporting config for nova gpu DT/VA
Add the missing [pci]report_in_placement flag.
Also configure the pci.alias config option on the controller. This
configuration should match the configuration found on the compute nodes
Signed-off-by: Bohdan Dobrelia <[email protected]>
Copy file name to clipboardExpand all lines: examples/dt/nova/nova04delta/README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,30 +32,32 @@ That is a contrary to the legacy mode where PCI devices used to be requested thr
32
32
33
33
### Control Plane (`examples/dt/nova/nova04delta/service-values.yaml`)
34
34
35
-
*`[pci]alias`: Creates an alias for a specific GPU type. This allows users to request a GPU by a friendly name (e.g., `nvidia_a2`) when creating a VM.
35
+
*`[pci]alias`: Creates an alias for a specific GPU type. This allows users to request a GPU by a friendly name (e.g., `nvidia_a2`) when creating a VM. This configuration should match the configuration found on the compute nodes.
36
36
```yaml
37
37
nova:
38
38
apiServiceTemplate:
39
39
customServiceConfig: |
40
40
[pci]
41
41
alias = { "vendor_id":"10de", "product_id":"20f1", "device_type":"type-PCI", "name":"nvidia_a2" }
42
42
```
43
-
* `[filter_scheduler]enabled_filters`: Ensures that `PciPassthroughFilter` is enabled in the Nova scheduler.
43
+
* `[filter_scheduler]pci_in_placement`: Enables PCI in Placement. It should only be enabled after all the computes in the system become configured to report PCI inventory in Placement via enabling `[pci]report_in_placement` in EDPM nodesets configuration. However, this order must be ensured during major upgrades only, where the dataplane deployment to upate EDPM computes configurataion must come before reconfiguring control plane resources.
44
44
* `device_type` in the alias is dependent on the actual hardware:
45
45
* `type-PF`: The device supports SR-IOV and is the parent or root device.
46
46
* `type-VF`: The device is a child device of a device that supports SR-IOV.
47
47
* `type-PCI`: The device does not support SR-IOV. This is the value you should use, or simply omit setting `device_type`, in a full device passthrough scenario.
* `[pci]report_in_placement`: Required for PCI in placement to work.
51
52
* `[pci]device_spec`: Whitelists the physical GPUs that are available for passthrough. You must create a `device_spec` entry for each physical GPU you want to make available. For example:
0 commit comments