[ovs-discuss] Bridge does not specify output ; ignoring? (OVS-DPDK Ubuntu)

Stokes, Ian ian.stokes at intel.com
Tue Dec 6 22:50:09 UTC 2016


> The mirror-related errors in the log.  ovs-tcpdump creates a mirror.

Are there any other errors in the logs? (with a view to figuring out why traffic isn't reaching the VMs). Feel free to attach them if you're unsure.

Can you provide some more detail with regards to your setup?

OVS release/commit, DPDK release, QEMU version etc.

> 
> On Tue, Dec 06, 2016 at 03:05:32PM -0500, Lax Clarke wrote:
> > Pardon?  What's caused by ovs-tcpdump??????
> >
> > On Tue, Dec 6, 2016 at 2:17 PM, Ben Pfaff <blp at ovn.org> wrote:
> >
> > > Oh, it's probably caused by ovs-tcpdump, now that I think about it.
> > >
> > > On Tue, Dec 06, 2016 at 01:20:19PM -0500, Lax Clarke wrote:
> > > > I do not think we did.
> > > >
> > > > Only config we did:
> > > >
> > > > # Subscribers DPDK-based Bridge
> > > > ovs-vsctl add-br flat-br-0 -- set bridge flat-br-0
> > > > datapath_type=netdev ovs-vsctl add-port flat-br-0 dpdk0 -- set
> > > > Interface dpdk0 type=dpdk ovs-vsctl add-port flat-br-0
> > > > stack-1-pts-1-subscribers-1 -- set Interface
> > > > stack-1-pts-1-subscribers-1 type=dpdkvhostuser
> > > >
> > > > # Internet DPDK-based Bridge
> > > > ovs-vsctl add-br flat-br-1 -- set bridge flat-br-1
> > > > datapath_type=netdev ovs-vsctl add-port flat-br-1 dpdk1 -- set
> > > > Interface dpdk1 type=dpdk ovs-vsctl add-port flat-br-1
> > > > stack-1-pts-1-internet-1 -- set Interface
> > > > stack-1-pts-1-internet-1 type=dpdkvhostuser
> > > >
> > > > # Bring it up (not sure if needed) ip link set dev flat-br-0 up ip
> > > > link set dev flat-br-1 up
> > > >
> > > > # Enable multi-queue on host side, 4 queues ovs-vsctl set
> > > > interface dpdk0 options:n_rxq=2 ovs-vsctl set interface dpdk1
> > > > options:n_rxq=2

How are you launching the VMs (i.e. QEMU, libvirt)?
What parameters are you using to launch & setup multi-queue for the VM interfaces?

Thanks
Ian

> > > >
> > > > # Give mode CPU Cores to ovs-vswitchd PMD threads ovs-vsctl set
> > > > Open_vSwitch . other_config:pmd-cpu-mask=FFFF
> > > >
> > > >
> > > > On Tue, Dec 6, 2016 at 12:37 PM, Ben Pfaff <blp at ovn.org> wrote:
> > > >
> > > > > On Tue, Dec 06, 2016 at 12:20:35PM -0500, Lax Clarke wrote:
> > > > > > I'm having trouble with 2 OVS bridges I've configured (sitting
> > > > > > on
> > > top of
> > > > > > OVS-DPDK):
> > > > > >
> > > > > > 2e18698f-9583-4c59-972c-72c2c32cfc7d
> > > > > >     Bridge "flat-br-1"
> > > > > >         Port "stack-1-pts-1-internet-1"
> > > > > >             Interface "stack-1-pts-1-internet-1"
> > > > > >                 type: dpdkvhostuser
> > > > > >         Port "flat-br-1"
> > > > > >             Interface "flat-br-1"
> > > > > >                 type: internal
> > > > > >         Port "dpdk1"
> > > > > >             Interface "dpdk1"
> > > > > >                 type: dpdk
> > > > > >                 options: {n_rxq="2"}
> > > > > >     Bridge "flat-br-0"
> > > > > >         Port "flat-br-0"
> > > > > >             Interface "flat-br-0"
> > > > > >                 type: internal
> > > > > >         Port "stack-1-pts-1-subscribers-1"
> > > > > >             Interface "stack-1-pts-1-subscribers-1"
> > > > > >                 type: dpdkvhostuser
> > > > > >         Port "dpdk0"
> > > > > >             Interface "dpdk0"
> > > > > >                 type: dpdk
> > > > > >                 options: {n_rxq="2"}
> > > > > >     ovs_version: "2.6.0"
> > > > > >
> > > > > >
> > > > > > I have these OF rules (nothing special):
> > > > > > root at terago-2:/home/sandvine/svauto# ovs-ofctl dump-flows
> > > > > > flat-br-0 NXST_FLOW reply (xid=0x4):
> > > > > >  cookie=0x0, duration=231.086s, table=0, n_packets=9853,
> > > n_bytes=591180,
> > > > > > idle_age=1, priority=0 actions=NORMAL
> > > > > > root at terago-2:/home/sandvine/svauto# ovs-ofctl dump-flows
> > > > > > flat-br-1 NXST_FLOW reply (xid=0x4):
> > > > > >  cookie=0x0, duration=234.638s, table=0, n_packets=9984,
> > > n_bytes=599040,
> > > > > > idle_age=2, priority=0 actions=NORMAL
> > > > > >
> > > > > > The traffic is reaching the bridges themselves (i.e.,
> > > > > > ovs-tcpdump on bridges shows the traffic), but not reaching the
> endpoints (VMs).
> > > > >
> > > > > OK...
> > > > >
> > > > > > The error I see in ovs switch log says:
> > > > > > 2016-12-06T17:14:41.170Z|00092|bridge|ERR|bridge flat-br-0:
> > > > > > mirror
> > > > > > m_flat-br-0 does not specify output; ignoring
> > > > > > 2016-12-06T17:14:41.170Z|00093|bridge|ERR|bridge flat-br-0:
> > > > > > mirror
> > > > > > m_flat-br-0 does not specify output; ignoring
> > > > > > 2016-12-06T17:14:41.170Z|00094|bridge|ERR|bridge flat-br-0:
> > > > > > mirror
> > > > > > m_flat-br-0 does not specify output; ignoring
> > > > > > 2016-12-06T17:14:41.171Z|00095|bridge|ERR|bridge flat-br-1:
> > > > > > mirror
> > > > > > m_flat-br-1 does not specify output; ignoring
> > > > > > 2016-12-06T17:14:41.171Z|00096|bridge|ERR|bridge flat-br-1:
> > > > > > mirror
> > > > > > m_flat-br-1 does not specify output; ignoring
> > > > > > 2016-12-06T17:14:41.171Z|00097|bridge|ERR|bridge flat-br-1:
> > > > > > mirror
> > > > > > m_flat-br-1 does not specify output; ignoring
> > > > > >
> > > > > > What does this mean?
> > > > > > I browsed code here
> > > > > > https://github.com/osrg/openvswitch/blob/master/
> > > vswitchd/bridge.c#L3641
> > > > > > It seems to suggest that I need either an output port or an
> > > > > > output
> > > vlan.
> > > > >
> > > > > How did you configure mirroring?
> > > > >
> > >
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


More information about the discuss mailing list