<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1255">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>FW: [Ask OpenStack] "sriov binding failure"</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>In neutron I see the following<BR>
<BR>
<BR>
<BR>
015-02-10 12:14:04.828 5282 INFO neutron.wsgi [req-6be014f2-64bb-4fc8-80df-173d9b2f95c6 None] 172.16.4.250 - - [10/Feb/2015 12:14:04] "GET //v2.0/routers.json?tenant_id=5af604dbf4c2431f87e157c526158bd0 HTTP/1.1" 200 1046 0.027448<BR>
<BR>
2015-02-10 12:14:06.429 5290 WARNING neutron.plugins.ml2.rpc [req-60be7756-4e9e-44b1-bc10-2b103c74bdc2 None] Device 66fd86cf-4fe8-4d07-8170-a158a156dc2d requested by agent ovs-agent-localhost.localdomain on network 4de555b2-5153-4271-b881-4e3b4a351a40 not bound, vif_type: binding_failed<BR>
<BR>
2015-02-10 12:14:15.001 5280 INFO neutron.wsgi [-] (5280) accepted ('172.16.4.250', 37888)<BR>
<BR>
2015-02-10 12:14:15.041 5280 INFO neutron.wsgi [req-e26ecbbb-a210-4271-913e-7f94699ef7b7 None] 172.16.4.250 - - [10/Feb/2015 12:14:15] "GET /v2.0/ports.json?device_id=b57c7237-7f0b-4c67-8e97-dfa04ec56e68&device_id=e9a531a4-b957-4dc9-8a1f-055e8866d102&device_id=a3e86ff8-6abb-4027-87cf-15fe903916f4&device_id=df44c009-4ccf-4dfe-8173-7a8613514a63&device_id=3f5d95ac-5c9c-49de-909b-74f0b2f722e2&device_id=7d57d794-20d6-4368-8c1a-7ccd41d3217a&device_id=10301f0b-c7f0-4291-bcc4-36936bfaf7ec&device_id=768da694-6771-4761-9520-e8103232dbf7 HTTP/1.1" 200 9223 0.036710<BR>
<BR>
2015-02-10 12:14:15.044 5280 INFO neutron.wsgi [-] (5280) accepted ('172.16.4.250', 37889)<BR>
<BR>
2015-02-10 12:14:15.073 5280 INFO neutron.wsgi [req-a6dda121-3dd5-4b2a-bd37-d20f8dbc79b7 None] 172.16.4.250 - - [10/Feb/2015 12:14:15] "GET /v2.0/security-groups.json?id=66d8cdc0-ce42-4ad5-b986-e9060522f293&id=9a534a9b-ac6e-43fc-a1d2-0dd4e8ffd555&id=94533a81-0e5b-4325-9096-0f919fe1fa97&id=ecb94f49-0fdd-4f6f-baa6-d602d83228bd&id=d66f4b45-cab4-4c65-b578-d9a2359f0ddd&id=d525c71f-ba6c-44b3-bae8-54307aeb3822 HTTP/1.1" 200 10154 0.028447<BR>
<BR>
2015-02-10 12:14:15.113 5280 INFO neutron.wsgi [-] (5280) accepted ('172.16.4.250', 37890)<BR>
<BR>
2015-02-10 12:14:15.140 5280 INFO neutron.wsgi [req-6aa90549-a253-412c-9264-0da80d0b075f None] 172.16.4.250 - - [10/Feb/2015 12:14:15] "GET //v2.0/networks.json?shared=False&tenant_id=5af604dbf4c2431f87e157c526158bd0 HTTP/1.1" 200 2026 0.025701<BR>
<BR>
2015-02-10 12:14:15.142 5283 INFO neutron.wsgi [-] (5283) accepted ('172.16.4.250', 37891)<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
Is my configuration ok?<BR>
<BR>
<BR>
<BR>
The sriov nic is not the one connected to the br-ex, but another one.<BR>
<BR>
<BR>
<BR>
________________________________<BR>
<BR>
From: communitymngr@openstack.org [<A HREF="mailto:communitymngr@openstack.org">mailto:communitymngr@openstack.org</A>]<BR>
Sent: Thursday, February 12, 2015 3:34 PM<BR>
To: Yaron Illouz<BR>
Subject: [Ask OpenStack] "sriov binding failure"<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
darragh-oreilly <<A HREF="https://ask.openstack.org/en/users/386/darragh-oreilly/">https://ask.openstack.org/en/users/386/darragh-oreilly/</A>> posted a comment <<A HREF="https://ask.openstack.org/en/question/60770/sriov-binding-failure/?comment=60776#comment-60776">https://ask.openstack.org/en/question/60770/sriov-binding-failure/?comment=60776#comment-60776</A>> <BR>
<BR>
Commented by darragh-oreilly:<BR>
<BR>
check the neutron server log - maybe it has more details why it could not bind the port<BR>
<BR>
In reply to yaroni: sriov binding failure<BR>
<BR>
Tags: openstack, sriov.<BR>
<BR>
I am trying to launch vm with sriov but get the following error<BR>
<BR>
I am getting the following error in nova-conductor.log 2015-02-10 12:14:33.337 4570 ERROR nova.scheduler.utils [req-63f0d61e-1e2e-40ba-8509-7c6c68238199 None] [instance: b57c7237-7f0b-4c67-8e97-dfa04ec56e68] Error from last host: localhost.localdomain (node localhost.localdomain): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2030, in _do_build_and_run_instance\n filter_properties)\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2161, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance b57c7237-7f0b-4c67-8e97-dfa04ec56e68 was re-scheduled: Unexpected vif_type=binding_failed\n']<BR>
<BR>
The lspci output looks like<BR>
<BR>
09:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)<BR>
09:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)<BR>
09:10.0 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)<BR>
09:10.1 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)<BR>
09:10.2 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)<BR>
...<BR>
<BR>
In nova.conf<BR>
<BR>
pci_passthrough_whitelist = {"address":"*:09:10.*","physical_network":"physnet1"}<BR>
<BR>
ml2_conf.ini<BR>
<BR>
tenant_network_types = vxlan,vlan<BR>
mechanism_drivers =openvswitch,sriovnicswitch<BR>
network_vlan_ranges = physnet1:101:150<BR>
<BR>
ml2_sriov.ini<BR>
<BR>
supported_pci_vendor_devs = 8086:10fb<BR>
physical_device_mappings = physnet1:ens2f0<BR>
<BR>
I tried to launch the vm through the dashboard and through the shell and get the error<BR>
<BR>
neutron net-create --provider:physical_network=physnet1 --provider:network_type=vlan --provider:segmentation_id=111 sriov-net<BR>
neutron subnet-create sriov-net 192.168.2.0/24 --name sriov-subnet<BR>
neutron port-create 64926985-3c04-4e50-8502-b50c0f38af7c --binding:vnic-type direct<BR>
nova boot --flavor m1.large --image 7648d005-4df8-43ab-abca-7f6908e32218 --nic port-id=b89a362d-1909-4e6f-8b64-223a66d66f41 sriov<BR>
<BR>
To change frequency, language and content of these alerts, please visit your user profile <<A HREF="https://ask.openstack.org/en/users/9241/yaroni/subscriptions/">https://ask.openstack.org/en/users/9241/yaroni/subscriptions/</A>> .<BR>
If you believe that this message was sent in an error, please email about it the forum administrator at communitymngr@openstack.org.<BR>
<BR>
<BR>
________________________________<BR>
<BR>
<BR>
Sincerely,<BR>
Ask OpenStack Administrator<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>