This post is probably not helpful and very much in the vein of nay saying. However, my experience with sr-iov and the experience others have shared with me invoke me to caution you. I have never heard of a successful execution of sr-iov with openstack. I have personally seen some of the abject strangest hardware failures I have had the misfortunes of experiencing with it.
Good luck. But I fear that in the choose your own adventure game of cloud you may have trodden upon a bad end. -Matt On Feb 12, 2015 8:05 AM, Yaron Illouz <[email protected]> wrote: > > I am trying to launch vm with sriov but get the following error > > It is an all-in-one setup > > The ens2f0 is not the br-ex interface, it is an additional interface that > should receive traffic in sriov > > > > 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'] > > > > > > The lspci output looks like > > > > 09:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit > SFI/SFP+ Network Connection (rev 01) > > 09:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit > SFI/SFP+ Network Connection (rev 01) > > 09:10.0 Ethernet controller: Intel Corporation 82599 Ethernet Controller > Virtual Function (rev 01) > > 09:10.1 Ethernet controller: Intel Corporation 82599 Ethernet Controller > Virtual Function (rev 01) > > 09:10.2 Ethernet controller: Intel Corporation 82599 Ethernet Controller > Virtual Function (rev 01) > > ... > > > > In nova.conf > > > > pci_passthrough_whitelist = > {"address":"*:09:10.*","physical_network":"physnet1"} > > > > ml2_conf.ini > > > > tenant_network_types = vxlan,vlan > > mechanism_drivers =openvswitch,sriovnicswitch > > network_vlan_ranges = physnet1:101:150 > > > > ml2_sriov.ini > > > > supported_pci_vendor_devs = 8086:10fb > > physical_device_mappings = physnet1:ens2f0 > > > > I tried to launch the vm through the dashboard and through the shell and get > the error > > > > neutron net-create --provider:physical_network=physnet1 > --provider:network_type=vlan --provider:segmentation_id=111 sriov-net > > neutron subnet-create sriov-net 192.168.2.0/24 --name sriov-subnet > > neutron port-create 64926985-3c04-4e50-8502-b50c0f38af7c > --binding:vnic-type direct > > nova boot --flavor m1.large --image 7648d005-4df8-43ab-abca-7f6908e32218 > --nic port-id=b89a362d-1909-4e6f-8b64-223a66d66f41 sriov > > > > > > _______________________________________________ OpenStack-operators mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
