<div dir="ltr"><div>Hey all,</div><div><br></div><div>I deployed openstack on DELL PowerEdge R620 installed with Centos 7.</div><div><br></div><div>SR-IOV is enabled in BIOS (both Virtualization Technology & SR-IOV).</div><div><br></div><div>Also, I added the needed kernel parameters and created virtual functions on 82599 Intel 10G NIC.</div><div><br></div><div>in nova.conf:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">      </span>1. pci_passthrough_whitelist={"devname":"p2p1","physical_network":"sriovnet"}</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>2. scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>   ImagePropertiesFilter,CoreFilter,PciPassthroughFilter</div><div><br></div><div>in ml2_conf.ini:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>1. type_drivers = vxlan,vlan</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>2. mechanism_drivers =openvswitch,sriovnicswitch</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>3. network_vlan_ranges = sriovnet:80:90</div><div><span class="Apple-tab-span" style="white-space:pre">      </span></div><div>in ml2_conf_sriov.ini:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">       </span>1. supported_pci_vendor_devs = 8086:10ed</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>2. agent_required = False</div><div><span class="Apple-tab-span" style="white-space:pre">    </span></div><div>in neutron-server.service:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>1. ExecStart=/usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/server </div><div><span class="Apple-tab-span" style="white-space:pre">     </span>   --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini </div><div><span class="Apple-tab-span" style="white-space:pre">  </span>   --config-file /etc/neutron/plugins/ml2/ml2_conf_sriov.ini --config-dir /etc/neutron/conf.d/neutron-server </div><div><span class="Apple-tab-span" style="white-space:pre">      </span>   --log-file /var/log/neutron/server.log</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>   </div><div>created Network based on physical network I defined (sriovnet), configured subnet and created direct type port.</div><div><br></div><div>When I creating an image (nova boot --flavor m1.large --image my_img --nic port-id=087ff574-fb14-47fd-82cb-454f176154ff test_sriov)   </div><div><br></div><div>I get the following error:</div><div><br></div><div>Traceback (most recent call last):</div><div><br></div><div>  File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 142, in inner</div><div>    return func(*args, **kwargs)</div><div><br></div><div>  File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 86, in select_destinations</div><div>    filter_properties)</div><div><br></div><div>  File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 80, in select_destinations</div><div>    raise exception.NoValidHost(reason=reason)</div><div><br></div><div>NoValidHost: No valid host was found. There are not enough hosts available.</div><div><br></div><div>2015-08-18 04:28:22.886 17998 WARNING nova.scheduler.utils [req-5804960b-4614-4d0e-9a3d-a94964cf93f8 caf2b9813205455896e60c6d00c92b4d 4bd6b22041ef4123958a0f85c775b770 - - -] [instance: 470e16f9-002f-4ae4-82f4-17a83a93d860] Setting instance to ERROR state.</div><div><br></div><div>Any idea what might be the problem here?</div><div><br></div><div>Thanks,</div><div>Shaham</div></div>