<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 15, 2017 at 2:41 PM, Samuel Monderer <span dir="ltr"><<a href="mailto:smonderer@vasonanetworks.com" target="_blank">smonderer@vasonanetworks.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><p style="box-sizing:border-box;margin:0px 0px 1rem;line-height:1.5em;color:rgb(37,37,37);font-family:Overpass,"Open Sans",Helvetica,sans-serif;font-size:16px">Hi,</p><p style="box-sizing:border-box;margin:0px 0px 1rem;line-height:1.5em;color:rgb(37,37,37);font-family:Overpass,"Open Sans",Helvetica,sans-serif;font-size:16px">I managed to deploy a compute node with ovs-dpdk using two NICs. The first for the provisioning network and control plane, the other NIC is used tenant network over ovs-dpdk.</p><p style="box-sizing:border-box;margin:0px 0px 1rem;line-height:1.5em;color:rgb(37,37,37);font-family:Overpass,"Open Sans",Helvetica,sans-serif;font-size:16px">I then tried to use only a single nic for provisioning and ovs-dpdk.<br style="box-sizing:border-box">I used the nic configuration below for the compute nodes running ovs-dpdk but encountered two problems.<br style="box-sizing:border-box">First the tenant network was working (wasn't able to get DHCP running and even when I manually configured it wasn't able to reach the router)<br style="box-sizing:border-box">Second the default route on control plane is not set even though it is configured in /etc/sysconfig/network-<wbr>scripts/route-br-ex</p><p style="box-sizing:border-box;margin:0px 0px 1rem;line-height:1.5em;color:rgb(37,37,37);font-family:Overpass,"Open Sans",Helvetica,sans-serif;font-size:16px">Samuel</p><p style="box-sizing:border-box;margin:0px 0px 1rem;line-height:1.5em;color:rgb(37,37,37);font-family:Overpass,"Open Sans",Helvetica,sans-serif;font-size:16px">OsNetConfigImpl:<br style="box-sizing:border-box">type: OS::Heat::StructuredConfig<br style="box-sizing:border-box">properties:<br style="box-sizing:border-box">group: os-apply-config<br style="box-sizing:border-box">config:<br style="box-sizing:border-box">os_net_config:<br style="box-sizing:border-box">network_config:<br style="box-sizing:border-box">-<br style="box-sizing:border-box">type: ovs_user_bridge<br style="box-sizing:border-box">name: {get_input: bridge_name}<br style="box-sizing:border-box">use_dhcp: false<br style="box-sizing:border-box">dns_servers: {get_param: DnsServers}<br style="box-sizing:border-box">addresses:<br style="box-sizing:border-box">-<br style="box-sizing:border-box">ip_netmask:<br style="box-sizing:border-box">list_join:<br style="box-sizing:border-box">- '/'<br style="box-sizing:border-box">- - {get_param: ControlPlaneIp}<br style="box-sizing:border-box">- {get_param: ControlPlaneSubnetCidr}<br style="box-sizing:border-box">routes:<br style="box-sizing:border-box">-<br style="box-sizing:border-box">ip_netmask: <a href="http://169.254.169.254/32" target="_blank">169.254.169.254/32</a><br style="box-sizing:border-box">next_hop: {get_param: EC2MetadataIp}<br style="box-sizing:border-box">-<br style="box-sizing:border-box">default: true<br style="box-sizing:border-box">next_hop: {get_param: ControlPlaneDefaultRoute}<br style="box-sizing:border-box">members:<br style="box-sizing:border-box">-<br style="box-sizing:border-box">type: ovs_dpdk_port<br style="box-sizing:border-box">name: dpdk0<br style="box-sizing:border-box">members:<br style="box-sizing:border-box">-<br style="box-sizing:border-box">type: interface<br style="box-sizing:border-box">name: nic1<br style="box-sizing:border-box">-<br style="box-sizing:border-box">type: vlan<br style="box-sizing:border-box">vlan_id: {get_param: InternalApiNetworkVlanID}<br style="box-sizing:border-box">addresses:<br style="box-sizing:border-box">-<br style="box-sizing:border-box">ip_netmask: {get_param: InternalApiIpSubnet}<br style="box-sizing:border-box">-<br style="box-sizing:border-box">type: vlan<br style="box-sizing:border-box">vlan_id: {get_param: TenantNetworkVlanID}<br style="box-sizing:border-box">addresses:<br style="box-sizing:border-box">-<br style="box-sizing:border-box">ip_netmask: {get_param: TenantIpSubnet}</p></div>
<br>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@lists.rdoproject.org">users@lists.rdoproject.org</a><br>
<a href="http://lists.rdoproject.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rdoproject.org/<wbr>mailman/listinfo/users</a><br>
<br>
To unsubscribe: <a href="mailto:users-unsubscribe@lists.rdoproject.org">users-unsubscribe@lists.<wbr>rdoproject.org</a><br>
<br></blockquote></div><br></div><div class="gmail_extra">Samuel,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Can you attach an unmodified version of this NIC config, rather than copy/paste into the email?</div><div class="gmail_extra"><br></div><div class="gmail_extra">I think you have an issue here:</div><div class="gmail_extra"><br></div><div class="gmail_extra">members:<br style="box-sizing:border-box">-<br style="box-sizing:border-box">type: ovs_dpdk_port<br style="box-sizing:border-box">name: dpdk0<br style="box-sizing:border-box">members:<br style="box-sizing:border-box">-<br style="box-sizing:border-box">type: interface<br style="box-sizing:border-box">name: nic1</div><div class="gmail_extra"><br></div><div class="gmail_extra">It appears that you have the ovs_dpdk_port as a member of the user bridge, but then you have the NIC and the VLANs as members of the ovs_dpdk_port, but the VLANs should be members of the bridge, not the ovs_dpdk_port.</div><div class="gmail_extra"><br></div><div class="gmail_extra">But that might not be the case, which is why I would like to see the original unmodifed NIC config.<br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature"><div dir="ltr">Dan Sneddon         |  Senior Principal OpenStack Engineer<br><a href="mailto:dsneddon@redhat.com" target="_blank">dsneddon@redhat.com</a> |  <a href="http://redhat.com/openstack" target="_blank">redhat.com/openstack</a><br>dsneddon:irc        |  @dxs:twitter<br></div></div>
</div></div>