How to Enable PCI Resource Class Based Placement Reporting in Nova

Problem

By default the PCI resource class based placement reporting is not enabled in nova, which will affect the requirement to maintain the inventory of our GPUs in the cluster.

Environment

  • Self-Hosted Private Cloud Director Virtualization - v2025.6 and Higher
  • Component - GPU, Nova.

Procedure

To enable PCI resource class based placement reporting in nova, it is required pass the report_in_placement=True in nova_override.conf as shown below:

nova_override.conf
Copy

This will enable PCI resources which are reported with default resource class name of format CUSTOM_PCI_{vendor_id}_{product_id}

Validation

Post enabling the PCI resource class based placement reporting in nova-override.conf, the PCI with resource class will start getting reported to placement from ostackhost logs. Please find the sample traces from Ostackhost logs below:

Sample - Ostackhost logs
Copy

Validation from the mysql placement table. Sample output:

Sample- Mysql
Copy

Validation using Openstack cli:

Sample - Openstack CLI
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard