<div dir="ltr">Hi Itzik,<div><br></div><div>thank you for your reply, can you tell my if this patch will be merged to Juno?</div><div><br></div><div>Regards,</div><div>Pedro Sousa</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 31, 2015 at 7:32 AM, Itzik Brown <span dir="ltr"><<a href="mailto:itzikb@redhat.com" target="_blank">itzikb@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    There is patch under review to solve the connectivity issue:<br>
    <a href="https://review.openstack.org/#/c/198736/" target="_blank">https://review.openstack.org/#/c/198736/</a><span class="HOEnZb"><font color="#888888"><br>
    <br>
    Itzik</font></span><div><div class="h5"><br>
    <div>On 08/28/2015 06:27 PM, Pedro Sousa
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi all,
        <div><br>
        </div>
        <div>I've managed to get his working, except SR-IOV vms cannot
          reach OVS vms and vice-versa. I've disabled firewall in
          ml2_conf.ini, openswitch and sriov agent files with this conf:</div>
        <div><br>
        </div>
        <div>
          <div><b>[securitygroup]</b></div>
          <div><b>enable_security_group = False<br>
            </b></div>
          <div><b>firewall_driver =
              neutron.agent.firewall.NoopFirewallDriver</b></div>
        </div>
        <div><br>
        </div>
        <div>Still doesn't work. Any idea why OVS based nic cannot ping
          SR-IOV nics?</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Pedro Sousa</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Aug 26, 2015 at 3:01 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 all,
              <div><br>
              </div>
              <div>thank you for your replys, concerning the dhcp issue,
                as I said it works some times, I also see this with
                tcpdump:</div>
              <div><br>
              </div>
              <div>
                <div># tcpdump -i any port 67 or port 68 -e -n</div>
              </div>
              <div><b>14:51:15.160160   B fa:16:3e:e6:a5:fd ethertype
                  802.1Q (0x8100), length 348: vlan 3486, p 0, ethertype
                  IPv4, 0.0.0.0.bootpc > 255.255.255.255.bootps:
                  BOOTP/DHCP, Request from fa:16:3e:e6:a5:fd, length 300</b><br>
              </div>
              <div>
                <div><b>14:51:15.160339   B fa:16:3e:e6:a5:fd ethertype
                    802.1Q (0x8100), length 348: vlan 3486, p 0,
                    ethertype IPv4, 0.0.0.0.bootpc >
                    255.255.255.255.bootps: BOOTP/DHCP, Request from
                    fa:16:3e:e6:a5:fd, length 300</b></div>
                <div><b>14:51:15.160341   B fa:16:3e:e6:a5:fd ethertype
                    802.1Q (0x8100), length 348: vlan 1, p 0, ethertype
                    IPv4, 0.0.0.0.bootpc > 255.255.255.255.bootps:
                    BOOTP/DHCP, Request from fa:16:3e:e6:a5:fd, length
                    300</b></div>
                <div><b>14:51:15.160610 Out fa:16:3e:48:d3:db ethertype
                    802.1Q (0x8100), length 385: vlan 3486, p 0,
                    ethertype IPv4, 10.0.30.3.bootps >
                    10.0.30.33.bootpc: BOOTP/DHCP, Reply, length 337</b></div>
              </div>
              <div><br>
              </div>
              <div>1º Joe, how can I check that VF has the right VLAN
                Tag?</div>
              <div><br>
              </div>
              <div>2º My understanding is that VLANS are correctly
                configured as it works fine with Openvswitch.</div>
              <div><br>
              </div>
              <div>Alon, I have the VLANS configured like this:</div>
              <div><br>
              </div>
              <div>
                <div>Eth104/1/2    SERVER2_NIC5      connected trunk    
                  full    10G     --</div>
                <div>Eth104/1/6    SERVER1_NIC5      connected trunk    
                  full    10G     --</div>
                <div><br>
                </div>
                <div>vlan 3482       (untagged)</div>
                <div>vlan 2402       (tagged)</div>
                <div>vlan 3480        (tagged)</div>
                <div>vlan 3481        (tagged)</div>
                <div>vlan 3485        (tagged)</div>
                <div>vlan 3486        (tagged)</div>
                <div>vlan 3487        (tagged)</div>
                <div>vlan 3488        (tagged)</div>
                <div>vlan 3489        (tagged)</div>
                <div>vlan 3490        (tagged)</div>
                <div>vlan 3491        (tagged)</div>
                <div>vlan 3492        (tagged)</div>
              </div>
              <div><br>
              </div>
              <div>Regards,</div>
              <div>Pedro Sousa</div>
              <div>
                <div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div class="gmail_extra"><br>
                    <div class="gmail_quote">On Wed, Aug 26, 2015 at
                      2:37 PM, Dotan, Alon <span dir="ltr"><<a href="mailto:alon.dotan@hp.com" target="_blank">alon.dotan@hp.com</a>></span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                        <div link="blue" vlink="purple" lang="EN-US">
                          <div>
                            <p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Sounds
                                like issues in the environment,</span></p>
                            <p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">The
                                PF (Physical function (external port))
                                connected to some switch, if so as
                                Trunk?</span></p>
                            <p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></p>
                            <p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> <a href="mailto:rdo-list-bounces@redhat.com" target="_blank">rdo-list-bounces@redhat.com</a>
                                [mailto:<a href="mailto:rdo-list-bounces@redhat.com" target="_blank">rdo-list-bounces@redhat.com</a>]
                                <b>On Behalf Of </b>Joe Talerico<br>
                                <b>Sent:</b> Wednesday, August 26, 2015
                                16:26<br>
                                <b>To:</b> Pedro Sousa<br>
                                <b>Cc:</b> <a href="mailto:rdo-list@redhat.com" target="_blank">rdo-list@redhat.com</a><br>
                                <b>Subject:</b> Re: [Rdo-list] SR-IOV on
                                openstack: no valid host is found</span></p>
                            <div>
                              <div>
                                <p class="MsoNormal"> </p>
                                <div>
                                  <p class="MsoNormal"> </p>
                                  <div>
                                    <p class="MsoNormal"> </p>
                                    <div>
                                      <p class="MsoNormal">On Wed, Aug
                                        26, 2015 at 6:54 AM, Pedro Sousa
                                        <<a href="mailto:pgsousa@gmail.com" target="_blank">pgsousa@gmail.com</a>>
                                        wrote:</p>
                                      <blockquote style="border-style:none none none solid;border-left-color:rgb(204,204,204);border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
                                        <div>
                                          <div>
                                            <p class="MsoNormal">Hi,</p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> </p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal">Some
                                              update on this, although I
                                              can launch the VM and see
                                              the VF inside it, I have 2
                                              problems</p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> </p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal">1º
                                              Sometimes I don't get ip
                                              from dhcp when I launch a
                                              new instance.</p>
                                          </div>
                                        </div>
                                      </blockquote>
                                      <div>
                                        <p class="MsoNormal"> </p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal">Does the VF
                                          have the right VLAN tag?</p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal"> </p>
                                      </div>
                                      <blockquote style="border-style:none none none solid;border-left-color:rgb(204,204,204);border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
                                        <div>
                                          <div>
                                            <p class="MsoNormal"> </p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal">2º I
                                              cannot ping the other
                                              hosts inside the tenant
                                              network using sr-iov nics.
                                              If I use ovs nics it
                                              works. </p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> </p>
                                          </div>
                                        </div>
                                      </blockquote>
                                      <div>
                                        <p class="MsoNormal"> </p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal">Are VLANs
                                          setup properly?</p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal"> </p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal">Joe</p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal"> </p>
                                      </div>
                                      <blockquote style="border-style:none none none solid;border-left-color:rgb(204,204,204);border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
                                        <div>
                                          <div>
                                            <p class="MsoNormal">Anyone
                                              has experienced this
                                              issues?</p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> </p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal">Thanks,</p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal">Pedro
                                              Sousa</p>
                                          </div>
                                          <div>
                                            <div>
                                              <div>
                                                <p class="MsoNormal"> </p>
                                              </div>
                                              <p class="MsoNormal"> </p>
                                              <div>
                                                <p class="MsoNormal"> </p>
                                                <div>
                                                  <p class="MsoNormal">On
                                                    Tue, Aug 25, 2015 at
                                                    12:02 PM, Pedro
                                                    Sousa <<a href="mailto:pgsousa@gmail.com" target="_blank">pgsousa@gmail.com</a>>
                                                    wrote:</p>
                                                  <blockquote style="border-style:none none none solid;border-left-color:rgb(204,204,204);border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
                                                    <div>
                                                      <p class="MsoNormal">Hi, </p>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal">Anyone
                                                          interested, I
                                                          got it working
                                                          using this
                                                          procedure:</p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"><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></p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal">I'm
                                                          using <b>RDO/Juno
                                                          Centos 7.1</b></p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal">My
                                                          conf:</p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"><b>Controller/Network
                                                          Node:</b></p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"><b>/etc/neutron/plugins/ml2/ml2_conf.ini</b></p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal">type_drivers
                                                          = vlan</p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal">tenant_network_types
                                                          = vlan</p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal">mechanism_drivers
=openvswitch,sriovnicswitch</p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <div>
                                                          <p class="MsoNormal">[ml2_type_vlan]</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">network_vlan_ranges
=int-vlan:1440:1449</p>
                                                        </div>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <div>
                                                          <p class="MsoNormal">[securitygroup]</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">enable_security_group
                                                          = True</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">firewall_driver
                                                          =
                                                          neutron.agent.firewall.NoopFirewallDriver</p>
                                                        </div>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"><b>/etc/neutron/plugins/ml2/ml2_conf_sriov.ini</b></p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <div>
                                                          <p class="MsoNormal">[ml2_sriov]</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">supported_pci_vendor_devs
                                                          = 14e4:16af</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">agent_required
                                                          = True</p>
                                                        </div>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <div>
                                                          <p class="MsoNormal">[sriov_nic]</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">physical_device_mappings
                                                          =
                                                          int-vlan:p2p1</p>
                                                        </div>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"><b>/etc/nova/nova.conf</b></p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal">[Default]</p>
                                                      </div>
                                                      <div>
                                                        <div>
                                                          <p class="MsoNormal">scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,PciPassthroughFilter</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">scheduler_available_filters
                                                          =
                                                          nova.scheduler.filters.all_filters</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">scheduler_available_filters
                                                          =
                                                          nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter</p>
                                                        </div>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"><b>/usr/lib/systemd/system/neutron-server.service</b></p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal">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</p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"><b>Compute
                                                          Node:</b></p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal">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.</p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal">#
                                                          yum
                                                          install openstack-neutron-ml2 openstack-neutron-sriov-nic-agent</p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"><b>/etc/neutron/plugins/ml2/ml2_conf.ini</b></p>
                                                      </div>
                                                      <div>
                                                        <div>
                                                          <p class="MsoNormal"> </p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">[securitygroup]</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">#
                                                          Controls if
                                                          neutron
                                                          security group
                                                          is enabled or
                                                          not.</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">#
                                                          It should be
                                                          false when you
                                                          use nova
                                                          security
                                                          group.</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">#
                                                          enable_security_group
                                                          = True</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">enable_security_group
                                                          = True</p>
                                                        </div>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal">firewall_driver
                                                          =
                                                          neutron.agent.firewall.NoopFirewallDriver</p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"><b>/etc/neutron/plugins/ml2/ml2_conf_sriov.ini</b></p>
                                                      </div>
                                                      <div>
                                                        <div>
                                                          <p class="MsoNormal">[securitygroup]</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">firewall_driver
                                                          =
                                                          neutron.agent.firewall.NoopFirewallDriver</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal"> </p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">[sriov_nic]</p>
                                                        </div>
                                                        <div>
                                                          <p class="MsoNormal">physical_device_mappings
                                                          =
                                                          int-vlan:p2p1</p>
                                                        </div>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"><b>/usr/lib/systemd/system/neutron-sriov-nic-agent.service</b></p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal">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</p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal">Regards,</p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal">Pedro
                                                          Sousa</p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                      <div>
                                                        <p class="MsoNormal"> </p>
                                                      </div>
                                                    </div>
                                                    <div>
                                                      <p class="MsoNormal"> </p>
                                                      <div>
                                                        <div>
                                                          <div>
                                                          <p class="MsoNormal">On
                                                          Tue, Aug 25,
                                                          2015 at 11:04
                                                          AM, Joe
                                                          Talerico <<a href="mailto:jtaleric@redhat.com" target="_blank">jtaleric@redhat.com</a>>
                                                          wrote:</p>
                                                          </div>
                                                        </div>
                                                        <blockquote style="border-style:none none none solid;border-left-color:rgb(204,204,204);border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
                                                          <div>
                                                          <div>
                                                          <p class="MsoNormal"><br>
                                                          <br>
                                                          On Monday,
                                                          August 17,
                                                          2015, <span dir="RTL" lang="HE">שחם
                                                          פרידנברג</span><span dir="LTR"></span><span dir="LTR"></span>
                                                          <<a href="mailto:shahamf@gmail.com" target="_blank">shahamf@gmail.com</a>>
                                                          wrote:</p>
                                                          <blockquote style="border-style:none none none solid;border-left-color:rgb(204,204,204);border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
                                                          <div>
                                                          <div>
                                                          <p class="MsoNormal">Hey
                                                          all,</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">I
                                                          deployed
                                                          openstack on
                                                          DELL PowerEdge
                                                          R620 installed
                                                          with Centos 7.</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">SR-IOV
                                                          is enabled in
                                                          BIOS (both
                                                          Virtualization
                                                          Technology
                                                          & SR-IOV).</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">Also,
                                                          I added the
                                                          needed kernel
                                                          parameters and
                                                          created
                                                          virtual
                                                          functions on
                                                          82599 Intel
                                                          10G NIC.</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">in
                                                          nova.conf:</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">1.
pci_passthrough_whitelist={"devname":"p2p1","physical_network":"sriovnet"}</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">2.
scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> 
ImagePropertiesFilter,CoreFilter,PciPassthroughFilter</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">Where
                                                          did you supply
                                                          the whitelist?</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">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. </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"><span style="color:rgb(136,136,136)"> </span></p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"><span style="color:rgb(136,136,136)">Joe</span></p>
                                                          </div>
                                                          <div>
                                                          <div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <blockquote style="border-style:none none none solid;border-left-color:rgb(204,204,204);border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
                                                          <div>
                                                          <div>
                                                          <p class="MsoNormal">in
                                                          ml2_conf.ini:</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">1.
                                                          type_drivers =
                                                          vxlan,vlan</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">2.
                                                          mechanism_drivers
=openvswitch,sriovnicswitch</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">3.
                                                          network_vlan_ranges
                                                          =
                                                          sriovnet:80:90</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">in
ml2_conf_sriov.ini:</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">1.
                                                          supported_pci_vendor_devs
                                                          = 8086:10ed</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">2.
                                                          agent_required
                                                          = False</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">in
neutron-server.service:</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">1.
                                                          ExecStart=/usr/bin/neutron-server
                                                          --config-file
                                                          /usr/share/neutron/neutron-dist.conf
                                                          --config-dir
                                                          /usr/share/neutron/server </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> 
                                                          --config-file
                                                          /etc/neutron/neutron.conf
                                                          --config-file
/etc/neutron/plugin.ini </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> 
                                                          --config-file
                                                          /etc/neutron/plugins/ml2/ml2_conf_sriov.ini
                                                          --config-dir
                                                          /etc/neutron/conf.d/neutron-server </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> 
                                                          --log-file
                                                          /var/log/neutron/server.log</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">  </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">created
                                                          Network based
                                                          on physical
                                                          network I
                                                          defined
                                                          (sriovnet),
                                                          configured
                                                          subnet and
                                                          created direct
                                                          type port.</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">When
                                                          I creating an
                                                          image (nova
                                                          boot --flavor
                                                          m1.large
                                                          --image my_img
                                                          --nic
                                                          port-id=087ff574-fb14-47fd-82cb-454f176154ff
                                                          test_sriov)   </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">I
                                                          get the
                                                          following
                                                          error:</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">Traceback
                                                          (most recent
                                                          call last):</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> 
                                                          File
                                                          "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py",
                                                          line 142, in
                                                          inner</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> 
                                                            return
                                                          func(*args,
                                                          **kwargs)</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> 
                                                          File
                                                          "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py",
                                                          line 86, in
                                                          select_destinations</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> 
                                                           
                                                          filter_properties)</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> 
                                                          File
                                                          "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
                                                          line 80, in
                                                          select_destinations</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> 
                                                            raise
                                                          exception.NoValidHost(reason=reason)</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">NoValidHost:
                                                          No valid host
                                                          was found.
                                                          There are not
                                                          enough hosts
                                                          available.</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">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.</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">Any
                                                          idea what
                                                          might be the
                                                          problem here?</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">Thanks,</p>
                                                          </div>
                                                          <div>
                                                          <p class="MsoNormal">Shaham</p>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          <p class="MsoNormal"> </p>
                                                          </div>
                                                          </div>
                                                          <p class="MsoNormal">_______________________________________________<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" 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></p>
                                                        </blockquote>
                                                      </div>
                                                      <p class="MsoNormal"> </p>
                                                    </div>
                                                  </blockquote>
                                                </div>
                                                <p class="MsoNormal"> </p>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                        <p class="MsoNormal"><br>
_______________________________________________<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" 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></p>
                                      </blockquote>
                                    </div>
                                    <p class="MsoNormal"> </p>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Rdo-list mailing list
<a href="mailto:Rdo-list@redhat.com" target="_blank">Rdo-list@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a>

To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com" target="_blank">rdo-list-unsubscribe@redhat.com</a></pre>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>