[ovs-discuss] No traffic to br-tun

Павел. buffoon2001 at mail.ru
Fri Feb 5 05:48:25 UTC 2016


 Yes its openstack environment. 
I was looking for, wrote , but there is no answer.


>Четверг,  4 февраля 2016, 15:26 -02:00 от Flavio Leitner <fbl at sysclose.org>:
>
>On Thu, 04 Feb 2016 13:05:36 +0300
>Павел. < buffoon2001 at mail.ru > wrote:
>
>>  HI all! I use RHEL 7.2 and ovs_version: 2.3.1. Faced with the
>> following problem - there is no traffic in tunnels and with strange
>> rules:
>
>This looks like an OpenStack environment.  If so, you should check with
>OpenStack community first to see if your setup is correct or if they
>know something already.
>
>--
>fbl
>
>
>> 
>> # ovs-ofctl dump-flows br-tun 
>> NXST_FLOW reply (xid=0x4):
>>  cookie=0x886283bb69f40f1a, duration=2442.899s, table=0,
>> n_packets=27, n_bytes=2154, idle_age=2430, priority=1,in_port=1
>> actions=resubmit(,2) cookie=0x886283bb69f40f1a, duration=2442.378s,
>> table=0, n_packets=0, n_bytes=0, idle_age=2442, priority=1,in_port=2
>> actions=resubmit(,4) cookie=0x886283bb69f40f1a, duration=2442.261s,
>> table=0, n_packets=0, n_bytes=0, idle_age=2442, priority=1,in_port=5
>> actions=resubmit(,3) cookie=0x886283bb69f40f1a, duration=2442.248s,
>> table=0, n_packets=0, n_bytes=0, idle_age=2442, priority=1,in_port=6
>> actions=resubmit(,3) cookie=0x886283bb69f40f1a, duration=2442.234s,
>> table=0, n_packets=0, n_bytes=0, idle_age=2442, priority=1,in_port=7
>> actions=resubmit(,3) cookie=0x886283bb69f40f1a, duration=2417.158s,
>> table=0, n_packets=0, n_bytes=0, idle_age=2417, priority=1,in_port=3
>> actions=resubmit(,4) cookie=0x886283bb69f40f1a, duration=2417.010s,
>> table=0, n_packets=0, n_bytes=0, idle_age=2417, priority=1,in_port=8
>> actions=resubmit(,3) cookie=0x886283bb69f40f1a, duration=2397.312s,
>> table=0, n_packets=0, n_bytes=0, idle_age=2397, priority=1,in_port=4
>> actions=resubmit(,4) cookie=0x886283bb69f40f1a, duration=2397.162s,
>> table=0, n_packets=0, n_bytes=0, idle_age=2397, priority=1,in_port=9
>> actions=resubmit(,3) cookie=0x886283bb69f40f1a, duration=2442.899s,
>> table=0, n_packets=0, n_bytes=0, idle_age=2442, priority=0
>> actions=drop cookie=0x886283bb69f40f1a, duration=2442.898s, table=2,
>> n_packets=0, n_bytes=0, idle_age=2442,
>> priority=0,dl_dst=00:00:00:00:00:00/01:00:00:00:00:00
>> actions=resubmit(,20) cookie=0x886283bb69f40f1a, duration=2442.898s,
>> table=2, n_packets=27, n_bytes=2154, idle_age=2430,
>> priority=0,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00
>> actions=resubmit(,22) cookie=0x886283bb69f40f1a, duration=2442.898s,
>> table=3, n_packets=0, n_bytes=0, idle_age=2442, priority=0
>> actions=drop cookie=0x886283bb69f40f1a, duration=2442.898s, table=4,
>> n_packets=0, n_bytes=0, idle_age=2442, priority=0 actions=drop
>> cookie=0x886283bb69f40f1a, duration=2442.897s, table=6, n_packets=0,
>> n_bytes=0, idle_age=2442, priority=0 actions=drop
>> cookie=0x886283bb69f40f1a, duration=2442.897s, table=10, n_packets=0,
>> n_bytes=0, idle_age=2442, priority=1
>> actions=learn(table=20,hard_timeout=300,priority=1,cookie=0x886283bb69f40f1a,NXM_OF_VLAN_TCI[0..11],NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],load:0->NXM_OF_VLAN_TCI[],load:NXM_NX_TUN_ID[]->NXM_NX_TUN_ID[],output:NXM_OF_IN_PORT[]),output:1
>> cookie=0x886283bb69f40f1a, duration=2442.897s, table=20, n_packets=0,
>> n_bytes=0, idle_age=2442, priority=0 actions=resubmit(,22)
>> cookie=0x886283bb69f40f1a, duration=2442.798s, table=22,
>> n_packets=27, n_bytes=2154, idle_age=2430, priority=0 actions=drop
>> All tunnels up: # ovs-vsctl show 706cd420-35a9-46fc-aa0e-6d02e18e1301
>> Bridge br-tun fail_mode: secure Port "gre-0a000a04" Interface
>> "gre-0a000a04" type: gre options: {df_default="true", in_key=flow,
>> local_ip="10.0.10.5", out_key=flow, remote_ip="10.0.10.4"} Port
>> "gre-0a001403" Interface "gre-0a001403" type: gre options:
>> {df_default="true", in_key=flow, local_ip="10.0.10.5", out_key=flow,
>> remote_ip="10.0.20.3"} Port "vxlan-0a001401" Interface
>> "vxlan-0a001401" type: vxlan options: {df_default="true",
>> in_key=flow, local_ip="10.0.10.5", out_key=flow,
>> remote_ip="10.0.20.1"} Port patch-int Interface patch-int type: patch
>> options: {peer=patch-tun} Port "vxlan-0a001403" Interface
>> "vxlan-0a001403" type: vxlan options: {df_default="true",
>> in_key=flow, local_ip="10.0.10.5", out_key=flow,
>> remote_ip="10.0.20.3"} Port "gre-0a001401" Interface "gre-0a001401"
>> type: gre options: {df_default="true", in_key=flow,
>> local_ip="10.0.10.5", out_key=flow, remote_ip="10.0.20.1"} Port
>> br-tun Interface br-tun type: internal Port "vxlan-0a000a01"
>> Interface "vxlan-0a000a01" type: vxlan options: {df_default="true",
>> in_key=flow, local_ip="10.0.10.5", out_key=flow,
>> remote_ip="10.0.10.1"} Port "gre-0a000a01" Interface "gre-0a000a01"
>> type: gre options: {df_default="true", in_key=flow,
>> local_ip="10.0.10.5", out_key=flow, remote_ip="10.0.10.1"} Port
>> "gre-0a000a02" Interface "gre-0a000a02" type: gre options:
>> {df_default="true", in_key=flow, local_ip="10.0.10.5", out_key=flow,
>> remote_ip="10.0.10.2"} Bridge br-vlan Port phy-br-vlan
>>             Interface phy-br-vlan
>>                 type: patch
>>                 options: {peer=int-br-vlan}
>>         Port br-vlan
>>             Interface br-vlan
>>                 type: internal
>>     Bridge br-int
>>         fail_mode: secure
>>         Port br-int
>>             Interface br-int
>>                 type: internal
>>         Port patch-tun
>>             Interface patch-tun
>>                 type: patch
>>                 options: {peer=patch-int}
>>         Port "qvo169fe75f-75"
>>             tag: 1
>>             Interface "qvo169fe75f-75"
>>         Port "qvobdd5a603-93"
>>             tag: 1
>>             Interface "qvobdd5a603-93"
>>         Port int-br-vlan
>>             Interface int-br-vlan
>>                 type: patch
>>                 options: {peer=phy-br-vlan}
>>     ovs_version: "2.4.0"
>> 
>> 
>> And after in messages i have this error:
>> 
>> ovs-vsctl: ovs|00001|vsctl|ERR|no row "patch-tun" in table Port
>> 
>> May be anyone know what is this?
>> 
>
>
>


С уважением,
Павел Логинов
web: http://marvelous.kz/
vk: https://vk.com/marvelous_photo
tel.: +7 (777) 330-18-50
buffoon2001 at mail.ru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160205/3891a20c/attachment-0002.html>


More information about the discuss mailing list