[Openstack-operators] [Neutron][SR-IOV]How to assign VF to a VM?

于洁 16189455 at qq.com
Fri Aug 21 09:01:14 UTC 2015


Hi all,


I try to configure SRIOV on OpenStack Kilo referring the information below.
http://www.qlogic.com/solutions/Documents/UsersGuide_OpenStack_SR-IOV.pdf
https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking


Until creating port it works well. But after creating VM using the port created before, it was in the state of ERROR. Below is the port information: 
neutron port-show 620187c5-b4ac-4aca-bdeb-96205503344d
+-----------------------+----------------------------------------------------------------------------------------------+
| Field                 | Value                                                                                        |
+-----------------------+----------------------------------------------------------------------------------------------+
| admin_state_up        | True                                                                                         |
| allowed_address_pairs |                                                                                              |
| binding:host_id       | compute                                                                                      |
| binding:profile       | {"pci_slot": "0000:09:11.5", "physical_network": "external", "pci_vendor_info": "8086:1520"} |
| binding:vif_details   | {}                                                                                           |
| binding:vif_type      | binding_failed                                                                               |
| binding:vnic_type     | direct                                                                                       |
| device_id             | baab9ba5-80e8-45f7-b86a-8ac3ce8ba944                                                         |
| device_owner          | compute:None                                                                                 |
| extra_dhcp_opts       |                                                                                              |
| fixed_ips             | {"subnet_id": "86849224-a0a7-4059-a6b0-689a2b35c995", "ip_address": "10.254.4.64"}           |
| id                    | 620187c5-b4ac-4aca-bdeb-96205503344d                                                         |
| mac_address           | fa:16:3e:8a:92:9b                                                                            |
| name                  |                                                                                              |
| network_id            | db078c2d-63f1-40c0-b6c3-b49de487362b                                                         |
| security_groups       | 8e12a661-09b5-41ac-ade8-fddf6d997262                                                         |
| status                | DOWN                                                                                         |
| tenant_id             | 85aa4ef08044470dab1608395e5cac26                                                             |
+-----------------------+----------------------------------------------------------------------------------------------+



The logs of /var/log/neutron/server.log and /var/log/nova/nova-conductor.log are in attachment.



Any suggestions will be grateful.
Thanks.


Yu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150821/87046c32/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: neutron-server-log.txt
Type: application/octet-stream
Size: 7211 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150821/87046c32/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nova-conductor-log.txt
Type: application/octet-stream
Size: 2284 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150821/87046c32/attachment-0001.obj>


More information about the OpenStack-operators mailing list