api-ref: os-pci API is not documented at all
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Matt Riedemann |
Bug Description
This API is not in the compute API reference at all:
https:/
https:/
There are really three parts there:
1. PciServerController shows PCI information for a given server, so that's an extension of the /servers API. That puts the os-pci:pci_devices key in the server response body.
2. PciHypervisorCo
3. PciController is for listing all PCI devices and showing details about a specific PCI device. When listing PCI devices in this API, we query all compute nodes, and then for each compute node we get the PCI devices and dump those into a list of dicts where the keys are whitelisted and based on whether or not we're listing PCI devices with details or not.
Changed in nova: | |
status: | Confirmed → Invalid |
It was pointed out that the os-pci extension is not even enabled:
https:/ /github. com/openstack/ nova/blob/ master/ setup.cfg# L130
# NOTE(cyeoh): this is intentionally disabled until microversions is active. /bugs.launchpad .net/nova/ +bug/1426241 openstack. compute. pci:Pci
# See https:/
# pci = nova.api.
So this documentation bug is actually probably invalid until we expose the API (if we ever do that).