Dear openstack community,
I am trying to setup pci passthrough for multiple devices types but I am getting an error while creating a new vm.
This is my pci section in nova.conf compute node
[pci]
passthrough_whitelist = [{ "vendor_id": "10de", "product_id": "1db1" }, { "vendor_id": "15b3", "product_id": "1016" }]
alias = { "vendor_id":"10de", "product_id":"1db1", "device_type":"type-PCI", "name":"nv_v100" }
alias = { "vendor_id":"15b3", "product_id":"1016", "device_type":"type-VF", "name":"mlnx_connectx4" }
I also tried this
[pci]
passthrough_whitelist = [{ "vendor_id": "10de", "product_id": "1db1" }, { "vendor_id": "15b3", "product_id": "1016" }]
alias = [{ "vendor_id":"10de", "product_id":"1db1", "device_type":"type-PCI", "name":"nv_v100" }, { "vendor_id":"15b3", "product_id":"1016", "device_type":"type-VF", "name":"mlnx_connectx4"
}]
And this is the error I am getting when I try to create a new vm:
# openstack server create --flavor sriov.small --image centos7.5-image --availability-zone nova:zeus-59.localdomain vm-sriov-test
PCI alias mlnx_connectx4 is not defined (HTTP 400) (Request-ID: req-aebb2d05-a557-428b-b2c6-090c16dc7c76)
how can I setup multiple aliases for different devices?
Thank you very much