<div dir="ltr"><div>Hi,</div><div><br></div><div>Some update on this, although I can launch the VM and see the VF inside it, I have 2 problems</div><div><br></div><div>1º Sometimes I don't get ip from dhcp when I launch a new instance.</div><div><br></div><div>2º I cannot ping the other hosts inside the tenant network using sr-iov nics. If I use ovs nics it works. </div><div><br></div><div>Anyone has experienced this issues?</div><div><br></div><div>Thanks,</div><div>Pedro Sousa</div><div><br></div><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 25, 2015 at 12:02 PM, Pedro Sousa <span dir="ltr"><<a href="mailto:pgsousa@gmail.com" target="_blank">pgsousa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>Anyone interested, I got it working using this procedure:</div><div><br></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" target="_blank">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></div><div><br></div><div><br></div><div>I'm using <b>RDO/Juno Centos 7.1</b><br></div><div><br></div><div>My conf:</div><div><br></div><div><b>Controller/Network Node:</b></div><div><br></div><div><b>/etc/neutron/plugins/ml2/ml2_conf.ini</b><br></div><div><br></div><div>type_drivers = vlan<br></div><div>tenant_network_types = vlan<br></div><div>mechanism_drivers =openvswitch,sriovnicswitch<br></div><div><br></div><div><div>[ml2_type_vlan]</div><div>network_vlan_ranges =int-vlan:1440:1449<br></div></div><div><br></div><div><div>[securitygroup]</div><div>enable_security_group = True<br></div><div>firewall_driver = neutron.agent.firewall.NoopFirewallDriver</div></div><div><br></div><div><b>/etc/neutron/plugins/ml2/ml2_conf_sriov.ini</b><br></div><div><br></div><div><div>[ml2_sriov]</div><div>supported_pci_vendor_devs = 14e4:16af<br></div><div>agent_required = True<br></div></div><div><br></div><div><div>[sriov_nic]</div><div>physical_device_mappings = int-vlan:p2p1<br></div></div><div><br></div><div><br></div><div><b>/etc/nova/nova.conf</b></div><div>[Default]<br></div><div><div>scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,PciPassthroughFilter</div><div>scheduler_available_filters = nova.scheduler.filters.all_filters</div><div>scheduler_available_filters = nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter</div></div><div><br></div><div><b>/usr/lib/systemd/system/neutron-server.service</b><br></div><div><br></div><div>ExecStart=/usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-file /etc/neutron/plugins/ml2/ml2_conf_sriov.ini --log-file /var/log/neutron/server.log<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><b>Compute Node:</b></div><div><br></div><div>I had to install ml2 plugin and sr-iov agent. Note, in the compute node using rdo packstack the ml2 plugin is not installed by default.</div><div><br></div><div># yum install openstack-neutron-ml2 openstack-neutron-sriov-nic-agent</div><div><br></div><div><b>/etc/neutron/plugins/ml2/ml2_conf.ini</b></div><div><div><br></div><div>[securitygroup]</div><div># Controls if neutron security group is enabled or not.</div><div># It should be false when you use nova security group.</div><div># enable_security_group = True</div><div>enable_security_group = True</div></div><div>firewall_driver = neutron.agent.firewall.NoopFirewallDriver<br></div><div><br></div><div><b>/etc/neutron/plugins/ml2/ml2_conf_sriov.ini</b><br></div><div><div>[securitygroup]</div><div>firewall_driver = neutron.agent.firewall.NoopFirewallDriver</div><div><br></div><div>[sriov_nic]</div><div>physical_device_mappings = int-vlan:p2p1<br></div></div><div><br></div><div><br></div><div><b>/usr/lib/systemd/system/neutron-sriov-nic-agent.service<br></b></div><div>ExecStart=/usr/bin/neutron-sriov-nic-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf_sriov.ini --log-file /var/log/neutron/sriov-nic-agent.log<br></div><div><br></div><div><br></div><div>Regards,</div><div>Pedro Sousa</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Aug 25, 2015 at 11:04 AM, Joe Talerico <span dir="ltr"><<a href="mailto:jtaleric@redhat.com" target="_blank">jtaleric@redhat.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><span><br><br>On Monday, August 17, 2015, שחם פרידנברג <<a href="mailto:shahamf@gmail.com" target="_blank">shahamf@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 style="white-space:pre-wrap">    </span>1. pci_passthrough_whitelist={"devname":"p2p1","physical_network":"sriovnet"}</div><div><span style="white-space:pre-wrap">    </span>2. scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,</div><div><span style="white-space:pre-wrap">       </span>   ImagePropertiesFilter,CoreFilter,PciPassthroughFilter</div><div><br></div></div></blockquote><div><br></div></span><div>Where did you supply the whitelist?</div><div><br></div><div>Also, after making the whitelist change did you check the nova-compute.log? It typically reports the PCI devices that can be used for instances. </div><span><font color="#888888"><div><br></div><div>Joe<span></span></div></font></span><div><div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>in ml2_conf.ini:</div><div><br></div><div><span style="white-space:pre-wrap">       </span>1. type_drivers = vxlan,vlan</div><div><span style="white-space:pre-wrap">     </span>2. mechanism_drivers =openvswitch,sriovnicswitch</div><div><span style="white-space:pre-wrap"> </span>3. network_vlan_ranges = sriovnet:80:90</div><div><span style="white-space:pre-wrap">  </span></div><div>in ml2_conf_sriov.ini:</div><div><br></div><div><span style="white-space:pre-wrap">   </span>1. supported_pci_vendor_devs = 8086:10ed</div><div><span style="white-space:pre-wrap"> </span>2. agent_required = False</div><div><span style="white-space:pre-wrap">        </span></div><div>in neutron-server.service:</div><div><br></div><div><span style="white-space:pre-wrap">       </span>1. ExecStart=/usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/server </div><div><span style="white-space:pre-wrap"> </span>   --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini </div><div><span style="white-space:pre-wrap">      </span>   --config-file /etc/neutron/plugins/ml2/ml2_conf_sriov.ini --config-dir /etc/neutron/conf.d/neutron-server </div><div><span style="white-space:pre-wrap">  </span>   --log-file /var/log/neutron/server.log</div><div><span style="white-space:pre-wrap">       </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>
</blockquote>
</div></div><br></div></div><span class="">_______________________________________________<br>
Rdo-list mailing list<br>
<a href="mailto:Rdo-list@redhat.com" target="_blank">Rdo-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
<br>
To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com" target="_blank">rdo-list-unsubscribe@redhat.com</a><br></span></blockquote></div><br></div>
</blockquote></div><br></div></div>