[ovs-discuss] OVS-bridges Troubleshooting

aeris aeris at ytechteam.com
Thu Nov 14 09:58:13 UTC 2019


We aren't using DPDK now, ports seems to be patch ports as of some 
output of ovs-*ctl commands

About flow table what I can show ? To be more exact - which out of 300 
flows you're interested in (as output of ovs-vsctl dump-flows)?

If it is about something about "problematic" VM then -
recirc_id(0),in_port(18),ct_state(-trk),eth(src=b2:ac:73:a2:4e:20),eth_type(0x0800),ipv4(src=*.*.*.16,proto=6,frag=no), 
packets:46, bytes:3404, used:0.573s, flags:PR., 
actions:ct(zone=3),recirc(0xaf01f)

recirc_id(0xaf01f),in_port(18),ct_state(-new+est-rel+rpl-inv+trk),ct_zone(0x3),ct_mark(0),eth(src=b2:ac:73:a2:4e:20,dst=64:c3:d6:bb:05:4a),eth_type(0x0800),ipv4(frag=no), 
packets:46, bytes:3404, used:0.570s, flags:PR., 
actions:push_vlan(vid=500,pcp=0),11


Also I've tried to use "ovs-appctl ofproto/trace <bridge-name>" and none 
of my bridges accepted as an argument(Previously listed them via 
"ovs-appctl ofproto/list")

stderr told me : "ovs-appctl: ovs-vswitchd: server returned an error"


On 11/13/2019 3:29 PM, Flavio Leitner wrote:
> On Wed, 13 Nov 2019 14:02:33 +0200
> aeris <aeris at ytechteam.com> wrote:
>
>> Hello,
>>
>> I'm new here, so sorry if i missed something or writing to wrong
>> maillist
>>
>> A bit of foreword -
>>
>> We had an installation of ovs in our cloud environment and faced
>> networking issue with vms at random time, but mostly 3-7 minutes
>> after reboot(it just stops answering on every request(typical ICMP)
>> during time from a few seconds to a few minutes)
>>
>> Our internal network for such kind of requests looks like this -
>>
>> Physical-switch-->linux
>> bond-->ovs-bridge1-->ovs-bridge2-->ovs-bridge3-->VM
>>
>> With ovs-tcpdump i found that there is two-sided communication on
>> link to VM and between ovs-bridge1 and linux-bond, but only one-sided
>> communication(only icmp-replies/requests depending on from which side
>> ping was issued) on link between ovs-bridge2 and ovs-bridge3 and no
>> packet on any other interface.
>>
>> So, actually, my main question is - what instruments do u use when
>> troubleshooting such issues, which I in turn can use in my
>> implementation. And did you faced similar problems in your
>> environments?
> I see you're using ovs-tcpdump, but you haven't told us if you're using
> DPDK or not. Also, how are the bridges connected to each other? veth?
> patch ports? and last, what do you have in the flow table?
>
> One thing that you might find useful is ofproto/trace:
> https://developers.redhat.com/blog/2016/10/12/tracing-packets-inside-open-vswitch/
>
> fbl


More information about the discuss mailing list