Not able to hba card in pci passthrough

asked 2018-05-29 03:42:16 -0600

Am trying to put a hba (Host bus Adapater) card which is a regular PCI card in Passthrough mode so that they can be assigned to VMs.

I was trying to follow the below link from openstack docs.

https://docs.openstack.org/nova/pike/admin/pci-passthrough.html (https://docs.openstack.org/nova/pike/...)

Am running Rocky Devstack on Ubuntu 16.04. I have enabled VT-D and IMMOU

stack@dmz1:~$ ./ls-immou.sh | grep QLogic IOMMU Group 43 06:00.0 Fibre Channel [0c04]: QLogic Corp. ISP8324-based 16Gb Fibre Channel to PCI Express Adapter [1077:2031] (rev 02) IOMMU Group 43 06:00.1 Fibre Channel [0c04]: QLogic Corp. ISP8324-based 16Gb Fibre Channel to PCI Express Adapter [1077:2031] (rev 02)

I have given the following config in my local.conf w.r.t PCI

[[post-config|$NOVA_CONF]]

[DEFAULT] scheduler_default_filters = RetryFilter, AvailabilityZoneFilter, RamFilter, ComputeFilter, ComputeCapabilitiesFilter, ImagePropertiesFilter, ServerGroupAntiAffinityFilter, ServerGroupAffinityFilter, PciPassthroughFilter scheduler_available_filters = nova.scheduler.filters.all_filters

[pci] alias = { "vendor_id":"1077", "product_id":"2031", "device_type":"type-PF", "name":"a1" } passthrough_whitelist = { "vendor_id": "1077", "product_id": "2031" }

But when I stack up , devstack fails to get built on creating nova flavor due to invalid PCI device list. Am not sure what is being overlooked here. Can someone please help me with this?

edit retag flag offensive close merge delete