Hi all,

I am in the middle of adding another openstack-compute node. However the
OVS network doesn't work. When I try to send a packet from a VM to
Internet, I can see the packet reaching br-int and get a VLAN tag there.
However, if I put wireshark on br-tun, it doesn't show any trace of the
packet. So I suspect that the patch port was dropping the packets. Then I
did a dump with OVS command:

# *ovs-dpctl -s show*
system@ovs-system:
lookups: hit:83685 missed:29 lost:0
 flows: 0
port 0: ovs-system (internal)
 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 aborted:0 carrier:0
 collisions:0
RX bytes:0  TX bytes:0
 *port 1: br-tun (internal)*
*RX packets:8* errors:0 dropped:0 overruns:0 frame:0
 TX packets:0 errors:0 dropped:0 aborted:0 carrier:0
collisions:0
 RX bytes:648  TX bytes:0
* port 2: br-int (internal)*
 RX packets:8 errors:0 dropped:0 overruns:0 frame:0
*TX packets:**83690* errors:0 dropped:0 aborted:0 carrier:0
 collisions:0
RX bytes:648  TX bytes:3516567 (3.4 MiB)
 port 3: vxlan_sys_4789 (vxlan: df_default=false, ttl=0)
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 TX packets:0 errors:0 dropped:0 aborted:0 carrier:0
collisions:0
 RX bytes:0  TX bytes:0
port 4: qvo0922f692-cb
 RX packets:83690 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 aborted:0 carrier:0
 collisions:0
RX bytes:3516567 (3.4 MiB)  TX bytes:0

So here I saw that br-tun is not receiving the packet sent from br-int
(through a patch-port connecting them). But with ovs-ofctl, it told me
another story.

# *ovs-ofctl dump-ports br-tun patch-int*
OFPST_PORT reply (xid=0x4): 1 ports
  port  1: *rx pkts=83690*, bytes=3516567, drop=0, errs=0, frame=0, over=0,
crc=0
           tx pkts=0, bytes=0, drop=0, errs=0, coll=0

# *ovs-ofctl dump-ports br-int patch-tun*
OFPST_PORT reply (xid=0x4): 1 ports
  port  1: rx pkts=0, bytes=0, drop=0, errs=0, frame=0, over=0, crc=0
           *tx pkts=83690*, bytes=3516567, drop=0, errs=0, coll=0

So I am really confused about where goes wrong and why the results are
inconsistent.


Thanks.
Wei.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to