how to define multiple aliases
Eric Fried
openstack at fried.cc
Tue Feb 19 14:05:22 UTC 2019
Manuel-
The aliases need to be defined in your conf files on both the conductor and the compute nodes. If that's the case let me know and I'll take a closer look when I get to my desk.
Eric Fried
> On Feb 19, 2019, at 03:17, Manuel Sopena Ballesteros <manuel.sb at garvan.org.au> wrote:
>
> 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
> NOTICE
> Please consider the environment before printing this email. This message and any attachments are intended for the addressee named and may contain legally privileged/confidential/copyright information. If you are not the intended recipient, you should not read, use, disclose, copy or distribute this communication. If you have received this message in error please notify us at once by return email and then delete both messages. We accept no liability for the distribution of viruses or similar in electronic communications. This notice should not be removed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190219/fa599cc7/attachment.html>
More information about the openstack-discuss
mailing list