<div dir="ltr">It looks like you haven't enabled the sriovnicswitch mechanism driver correctly.<div><br></div><div>I make this assumption based on the following error message in your neutron-server log:</div><div>Refusing to bind due to unsupported vnic_type: direct bind_port<br></div><div><br></div><div>Please make sure you added:</div><div>mechanism_drivers = openvswitch,sriovnicswitch</div><div>to /etc/neutron/plugins/ml2/ml2_conf.ini also make sure that neutron-server is actually using this file as config option. You may have to change /etc/init/neutron-server.conf so that it runs like this:</div><div><div>neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-file /etc/neutron/plugins/ml2/ml2_conf_sriov.ini</div></div><div><br></div><div>If you're still having issues I suggest checking the following guide in detail:</div><div><a href="http://docs-draft.openstack.org/85/213985/10/check/gate-openstack-manuals-tox-doc-publish-checkbuild/1381a5e//publish-docs/networking-guide/adv_config_sriov.html">http://docs-draft.openstack.org/85/213985/10/check/gate-openstack-manuals-tox-doc-publish-checkbuild/1381a5e//publish-docs/networking-guide/adv_config_sriov.html</a><br></div><div><br></div><div>Regards,</div><div>Sam Stoelinga</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 21, 2015 at 5:01 PM, 于洁 <span dir="ltr"><<a href="mailto:16189455@qq.com" target="_blank">16189455@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi all,</div><div><br></div><div>I try to configure SRIOV on OpenStack Kilo referring the information below.</div><div><a href="http://www.qlogic.com/solutions/Documents/UsersGuide_OpenStack_SR-IOV.pdf" target="_blank">http://www.qlogic.com/solutions/Documents/UsersGuide_OpenStack_SR-IOV.pdf</a></div><div><a href="https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking" target="_blank">https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking</a></div><div><br></div><div>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: </div><div><div>neutron port-show 620187c5-b4ac-4aca-bdeb-96205503344d</div><div>+-----------------------+----------------------------------------------------------------------------------------------+</div><div>| Field                 | Value                                                                                        |</div><div>+-----------------------+----------------------------------------------------------------------------------------------+</div><div>| admin_state_up        | True                                                                                         |</div><div>| allowed_address_pairs |                                                                                              |</div><div>| binding:host_id       | compute                                                                                      |</div><div>| binding:profile       | {"pci_slot": "0000:09:11.5", "physical_network": "external", "pci_vendor_info": "8086:1520"} |</div><div>| binding:vif_details   | {}                                                                                           |</div><div>| binding:vif_type      | binding_failed                                                                               |</div><div>| binding:vnic_type     | direct                                                                                       |</div><div>| device_id             | baab9ba5-80e8-45f7-b86a-8ac3ce8ba944                                                         |</div><div>| device_owner          | compute:None                                                                                 |</div><div>| extra_dhcp_opts       |                                                                                              |</div><div>| fixed_ips             | {"subnet_id": "86849224-a0a7-4059-a6b0-689a2b35c995", "ip_address": "10.254.4.64"}           |</div><div>| id                    | 620187c5-b4ac-4aca-bdeb-96205503344d                                                         |</div><div>| mac_address           | fa:16:3e:8a:92:9b                                                                            |</div><div>| name                  |                                                                                              |</div><div>| network_id            | db078c2d-63f1-40c0-b6c3-b49de487362b                                                         |</div><div>| security_groups       | 8e12a661-09b5-41ac-ade8-fddf6d997262                                                         |</div><div>| status                | DOWN                                                                                         |</div><div>| tenant_id             | 85aa4ef08044470dab1608395e5cac26                                                             |</div><div>+-----------------------+----------------------------------------------------------------------------------------------+</div></div><div><br></div><div>The logs of /var/log/neutron/server.log and /var/log/nova/nova-conductor.log are in attachment.</div><div><div><br></div></div><div>Any suggestions will be grateful.</div><div>Thanks.</div><div><br></div><div>Yu</div><div><br></div><br>_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></blockquote></div><br></div>