Instance creation with GPU via PCI passthrough failed.

Solution Verified - Updated -

Issue

  • To create an instance with GPU via PCI passthrough, followed the documentation but it failed with the kind of below ERROR messages
    .
: libvirt.libvirtError: XML error: Hostdev already exists in the domain configuration
2024-05-28 06:40:30.841 2 ERROR nova.virt.libvirt.driver [req-14a27817-4a5a-4861-8f6a-8d8b931b1378 c381e8df0aab462d86dbef397bc42268 dda8c24fea1447b29059297645757a97 - default default] [instance: 1dc15dc6-08a6-4d42-a6ff-47ae3dc71ef7] Failed to start libvirt guest: libvirt.libvirtError: XML error: Hostdev already exists in the domain configuration
133:2024-06-13 04:07:26.022 13 DEBUG nova.pci.stats [req-8678d7aa-bd9a-44be-aa28-59e8144aee09 c381e8df0aab462d86dbef397bc42268 dda8c24fea1447b29059297645757a97 - default default] Dropped 1 device(s) due to mismatched PCI attribute(s) _filter_pools /usr/lib/python3.9/site-packages/nova/pci/stats.py:447
1134:2024-06-13 04:07:26.022 13 DEBUG nova.pci.stats [req-8678d7aa-bd9a-44be-aa28-59e8144aee09 c381e8df0aab462d86dbef397bc42268 dda8c24fea1447b29059297645757a97 - default default] Not enough PCI devices left to satisfy request _filter_pools /usr/lib/python3.9/site-packages/nova/pci/stats.py:453

Environment

  • Red Hat OpenStack Platform 17.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content