Uploaded image for project: 'ovsdb'
  1. ovsdb
  2. OVSDB-295

Flows remaining after deleting Instances, Networks and Routers (osl-ovsdb-openstack)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • unspecified
    • openstack.net-virt
    • None
    • Operating System: All
      Platform: All

    • 5291

      These were discussed over mail. I am recording the observation to confirm the same after the fixes are done for cleaning the flows.

      Used ODL1 for Neutron
      ODL2, ODL3 for handling OVS

      The following operations were done
      Create Networks
      Create Instances
      Create Router
      Delete Instances, Router and Networks
      Crearte Networks
      Delete Networks

      The following flows are left in the control and the compute nodes

      Control node
      ubuntu@odl-os-control-node:~/devstack$ sudo ovs-ofctl dump-flows br-int -OOpenflow13
      OFPST_FLOW reply (OF1.3) (xid=0x2):
      cookie=0x0, duration=5533.907s, table=0, n_packets=45, n_bytes=4800, in_port=1,dl_src=fa:16:3e:a1:77:e4 actions=set_field:0x428->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
      cookie=0x0, duration=5197.605s, table=0, n_packets=46, n_bytes=5010, in_port=5,dl_src=fa:16:3e:2c:ed:ef actions=set_field:0x41d->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
      cookie=0x0, duration=408.991s, table=0, n_packets=8, n_bytes=648, in_port=6,dl_src=fa:16:3e:58:85:83 actions=set_field:0x448->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
      cookie=0x0, duration=5479.266s, table=0, n_packets=39, n_bytes=3320, in_port=4,dl_src=fa:16:3e:97:72:fc actions=set_field:0x428->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
      cookie=0x0, duration=7535.170s, table=0, n_packets=10, n_bytes=836, priority=0 actions=goto_table:20
      cookie=0x0, duration=408.984s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=6 actions=drop
      cookie=0x0, duration=5197.588s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=5 actions=drop
      cookie=0x0, duration=5533.904s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=1 actions=drop
      cookie=0x0, duration=5479.247s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=4 actions=drop
      cookie=0x0, duration=408.785s, table=0, n_packets=0, n_bytes=0, tun_id=0x448,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
      cookie=0x0, duration=5533.387s, table=0, n_packets=48, n_bytes=4136, tun_id=0x428,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
      cookie=0x0, duration=5197.380s, table=0, n_packets=65, n_bytes=5954, tun_id=0x41d,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
      cookie=0x0, duration=7535.170s, table=0, n_packets=1410, n_bytes=157116, dl_type=0x88cc actions=CONTROLLER:65535
      cookie=0x0, duration=7535.170s, table=20, n_packets=245, n_bytes=24032, priority=0 actions=goto_table:30
      cookie=0x0, duration=409.036s, table=20, n_packets=0, n_bytes=0, priority=1024,arp,tun_id=0x448,arp_tpa=10.11.12.2,arp_op=1 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:58:85:83>eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]>NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]>NXM_OF_ARP_TPA[],load:0xfa163e588583->NXM_NX_ARP_SHA[],load:0xa0b0c02->NXM_OF_ARP_SPA[],IN_PORT
      cookie=0x0, duration=5199.700s, table=20, n_packets=0, n_bytes=0, priority=1024,arp,tun_id=0x41d,arp_tpa=11.12.13.2,arp_op=1 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:2c:ed:ef>eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]>NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]>NXM_OF_ARP_TPA[],load:0xfa163e2cedef->NXM_NX_ARP_SHA[],load:0xb0c0d02->NXM_OF_ARP_SPA[],IN_PORT
      cookie=0x0, duration=5534.079s, table=20, n_packets=2, n_bytes=84, priority=1024,arp,tun_id=0x428,arp_tpa=1.2.3.2,arp_op=1 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:a1:77:e4>eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]>NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]>NXM_OF_ARP_TPA[],load:0xfa163ea177e4->NXM_NX_ARP_SHA[],load:0x1020302->NXM_OF_ARP_SPA[],IN_PORT
      cookie=0x0, duration=7535.170s, table=30, n_packets=245, n_bytes=24032, priority=0 actions=goto_table:40
      cookie=0x0, duration=5481.537s, table=40, n_packets=0, n_bytes=0, priority=36001,ip,in_port=4,dl_src=fa:16:3e:97:72:fc,nw_src=1.2.3.3 actions=goto_table:50
      cookie=0x0, duration=7535.153s, table=40, n_packets=211, n_bytes=19362, priority=0 actions=goto_table:50
      cookie=0x0, duration=5534.165s, table=40, n_packets=8, n_bytes=2704, priority=61012,udp,tp_src=68,tp_dst=67 actions=goto_table:50
      cookie=0x0, duration=5533.938s, table=40, n_packets=0, n_bytes=0, priority=61012,udp6,tp_src=546,tp_dst=547 actions=goto_table:50
      cookie=0x0, duration=5475.718s, table=40, n_packets=17, n_bytes=1588, priority=61007,ip,dl_src=fa:16:3e:97:72:fc actions=goto_table:50
      cookie=0x0, duration=5482.070s, table=40, n_packets=0, n_bytes=0, priority=61011,udp,in_port=4,tp_src=67,tp_dst=68 actions=drop
      cookie=0x0, duration=5482.058s, table=40, n_packets=0, n_bytes=0, priority=61011,udp6,in_port=4,tp_src=547,tp_dst=546 actions=drop
      cookie=0x0, duration=5482.078s, table=40, n_packets=9, n_bytes=378, priority=61010,arp,arp_sha=fa:16:3e:97:72:fc actions=goto_table:50
      cookie=0x0, duration=7535.128s, table=50, n_packets=245, n_bytes=24032, priority=0 actions=goto_table:60
      cookie=0x0, duration=7535.096s, table=60, n_packets=240, n_bytes=23542, priority=0 actions=goto_table:70
      cookie=0x0, duration=7535.077s, table=70, n_packets=219, n_bytes=21484, priority=0 actions=goto_table:80
      cookie=0x0, duration=4341.335s, table=70, n_packets=2, n_bytes=196, priority=1024,ip,tun_id=0x41d,nw_dst=11.12.13.2 actions=set_field:fa:16:3e:2c:ed:ef->eth_dst,goto_table:80
      cookie=0x0, duration=7535.055s, table=80, n_packets=245, n_bytes=24032, priority=0 actions=goto_table:90
      cookie=0x0, duration=7535.041s, table=90, n_packets=224, n_bytes=21000, priority=0 actions=goto_table:100
      cookie=0x0, duration=5476.961s, table=90, n_packets=19, n_bytes=2310, priority=61007,ip,dl_dst=fa:16:3e:97:72:fc actions=goto_table:100
      cookie=0x0, duration=5482.133s, table=90, n_packets=0, n_bytes=0, priority=61010,arp,arp_tha=fa:16:3e:97:72:fc actions=goto_table:100
      cookie=0x0, duration=5482.149s, table=90, n_packets=0, n_bytes=0, priority=61006,udp6,dl_src=fa:16:3e:a1:77:e4,tp_src=547,tp_dst=546 actions=goto_table:100
      cookie=0x0, duration=5482.165s, table=90, n_packets=2, n_bytes=722, priority=61006,udp,dl_src=fa:16:3e:a1:77:e4,tp_src=67,tp_dst=68 actions=goto_table:100
      cookie=0x0, duration=7535.028s, table=100, n_packets=223, n_bytes=21876, priority=0 actions=goto_table:110
      cookie=0x0, duration=5197.420s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x41d actions=drop
      cookie=0x0, duration=408.840s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x448 actions=drop
      cookie=0x0, duration=5533.420s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x428 actions=drop
      cookie=0x0, duration=7534.465s, table=110, n_packets=11, n_bytes=926, priority=0 actions=drop
      cookie=0x0, duration=5533.485s, table=110, n_packets=19, n_bytes=1662, priority=16383,reg0=0x1,tun_id=0x428,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:3,output:4
      cookie=0x0, duration=408.848s, table=110, n_packets=8, n_bytes=648, priority=16383,reg0=0x1,tun_id=0x448,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:6,output:3
      cookie=0x0, duration=5533.485s, table=110, n_packets=20, n_bytes=1648, priority=16384,reg0=0x2,tun_id=0x428,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:4
      cookie=0x0, duration=5197.483s, table=110, n_packets=3, n_bytes=230, priority=16383,reg0=0x1,tun_id=0x41d,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:5,output:3
      cookie=0x0, duration=5197.528s, table=110, n_packets=32, n_bytes=2876, priority=16384,reg0=0x2,tun_id=0x41d,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:5
      cookie=0x0, duration=408.890s, table=110, n_packets=0, n_bytes=0, priority=16384,reg0=0x2,tun_id=0x448,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:6
      cookie=0x0, duration=408.901s, table=110, n_packets=0, n_bytes=0, tun_id=0x448,dl_dst=fa:16:3e:58:85:83 actions=output:6
      cookie=0x0, duration=5533.546s, table=110, n_packets=33, n_bytes=2900, tun_id=0x428,dl_dst=fa:16:3e:a1:77:e4 actions=output:1
      cookie=0x0, duration=4925.573s, table=110, n_packets=25, n_bytes=2901, tun_id=0x41d,dl_dst=fa:16:3e:98:fc:fe actions=output:3
      cookie=0x0, duration=5488.134s, table=110, n_packets=27, n_bytes=2932, tun_id=0x428,dl_dst=fa:16:3e:a5:12:bd actions=output:3
      cookie=0x0, duration=5479.199s, table=110, n_packets=19, n_bytes=2310, tun_id=0x428,dl_dst=fa:16:3e:97:72:fc actions=output:4
      cookie=0x0, duration=5197.556s, table=110, n_packets=33, n_bytes=3078, tun_id=0x41d,dl_dst=fa:16:3e:2c:ed:ef actions=output:5

      Compute Node
      ubuntu@odl-os-compute-node:~/devstack$ sudo ovs-ofctl dump-flows br-int -OOpenFlow13
      OFPST_FLOW reply (OF1.3) (xid=0x2):
      cookie=0x0, duration=5011.927s, table=0, n_packets=58, n_bytes=5012, in_port=4,dl_src=fa:16:3e:98:fc:fe actions=set_field:0x41d->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
      cookie=0x0, duration=5574.683s, table=0, n_packets=65, n_bytes=5186, in_port=2,dl_src=fa:16:3e:a5:12:bd actions=set_field:0x428->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
      cookie=0x0, duration=6053.783s, table=0, n_packets=16, n_bytes=1519, priority=0 actions=goto_table:20
      cookie=0x0, duration=5574.682s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=2 actions=drop
      cookie=0x0, duration=5011.912s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=4 actions=drop
      cookie=0x0, duration=5574.365s, table=0, n_packets=44, n_bytes=4454, tun_id=0x428,in_port=1 actions=load:0x2->NXM_NX_REG0[],goto_table:20
      cookie=0x0, duration=6053.801s, table=0, n_packets=1417, n_bytes=157287, dl_type=0x88cc actions=CONTROLLER:65535
      cookie=0x0, duration=6053.768s, table=20, n_packets=250, n_bytes=24175, priority=0 actions=goto_table:30
      cookie=0x0, duration=5578.388s, table=20, n_packets=4, n_bytes=168, priority=1024,arp,tun_id=0x428,arp_tpa=1.2.3.2,arp_op=1 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:a1:77:e4>eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]>NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]>NXM_OF_ARP_TPA[],load:0xfa163ea177e4->NXM_NX_ARP_SHA[],load:0x1020302->NXM_OF_ARP_SPA[],IN_PORT
      cookie=0x0, duration=6053.760s, table=30, n_packets=250, n_bytes=24175, priority=0 actions=goto_table:40
      cookie=0x0, duration=5575.283s, table=40, n_packets=0, n_bytes=0, priority=36001,ip,in_port=2,dl_src=fa:16:3e:a5:12:bd,nw_src=1.2.3.4 actions=goto_table:50
      cookie=0x0, duration=5014.818s, table=40, n_packets=0, n_bytes=0, priority=36001,ip,in_port=4,dl_src=fa:16:3e:98:fc:fe,nw_src=11.12.13.3 actions=goto_table:50
      cookie=0x0, duration=6053.751s, table=40, n_packets=110, n_bytes=10764, priority=0 actions=goto_table:50
      cookie=0x0, duration=5007.285s, table=40, n_packets=33, n_bytes=3156, priority=61007,ip,dl_src=fa:16:3e:98:fc:fe actions=goto_table:50
      cookie=0x0, duration=5571.653s, table=40, n_packets=34, n_bytes=3076, priority=61007,ip,dl_src=fa:16:3e:a5:12:bd actions=goto_table:50
      cookie=0x0, duration=5575.693s, table=40, n_packets=0, n_bytes=0, priority=61011,udp6,in_port=2,tp_src=547,tp_dst=546 actions=drop
      cookie=0x0, duration=5015.114s, table=40, n_packets=0, n_bytes=0, priority=61011,udp,in_port=4,tp_src=67,tp_dst=68 actions=drop
      cookie=0x0, duration=5575.693s, table=40, n_packets=0, n_bytes=0, priority=61011,udp,in_port=2,tp_src=67,tp_dst=68 actions=drop
      cookie=0x0, duration=5015.093s, table=40, n_packets=0, n_bytes=0, priority=61011,udp6,in_port=4,tp_src=547,tp_dst=546 actions=drop
      cookie=0x0, duration=5575.708s, table=40, n_packets=15, n_bytes=630, priority=61010,arp,arp_sha=fa:16:3e:a5:12:bd actions=goto_table:50
      cookie=0x0, duration=5015.123s, table=40, n_packets=9, n_bytes=378, priority=61010,arp,arp_sha=fa:16:3e:98:fc:fe actions=goto_table:50
      cookie=0x0, duration=6053.743s, table=50, n_packets=250, n_bytes=24175, priority=0 actions=goto_table:60
      cookie=0x0, duration=6053.730s, table=60, n_packets=235, n_bytes=22705, priority=0 actions=goto_table:70
      cookie=0x0, duration=6053.720s, table=70, n_packets=202, n_bytes=19471, priority=0 actions=goto_table:80
      cookie=0x0, duration=4428.209s, table=70, n_packets=2, n_bytes=196, priority=1024,ip,tun_id=0x41d,nw_dst=11.12.13.2 actions=set_field:fa:16:3e:2c:ed:ef->eth_dst,goto_table:80
      cookie=0x0, duration=6053.704s, table=80, n_packets=250, n_bytes=24175, priority=0 actions=goto_table:90
      cookie=0x0, duration=6053.693s, table=90, n_packets=159, n_bytes=14069, priority=0 actions=goto_table:100
      cookie=0x0, duration=5009.131s, table=90, n_packets=35, n_bytes=3881, priority=61007,ip,dl_dst=fa:16:3e:98:fc:fe actions=goto_table:100
      cookie=0x0, duration=5572.587s, table=90, n_packets=32, n_bytes=3422, priority=61007,ip,dl_dst=fa:16:3e:a5:12:bd actions=goto_table:100
      cookie=0x0, duration=5575.807s, table=90, n_packets=0, n_bytes=0, priority=61010,arp,arp_tha=fa:16:3e:a5:12:bd actions=goto_table:100
      cookie=0x0, duration=5015.180s, table=90, n_packets=0, n_bytes=0, priority=61010,arp,arp_tha=fa:16:3e:98:fc:fe actions=goto_table:100
      cookie=0x0, duration=5575.833s, table=90, n_packets=0, n_bytes=0, priority=61006,udp6,dl_src=fa:16:3e:a1:77:e4,tp_src=547,tp_dst=546 actions=goto_table:100
      cookie=0x0, duration=5575.841s, table=90, n_packets=0, n_bytes=0, priority=61006,udp,dl_src=fa:16:3e:a1:77:e4,tp_src=67,tp_dst=68 actions=goto_table:100
      cookie=0x0, duration=6053.685s, table=100, n_packets=210, n_bytes=20255, priority=0 actions=goto_table:110
      cookie=0x0, duration=5574.503s, table=110, n_packets=7, n_bytes=518, priority=8192,tun_id=0x428 actions=drop
      cookie=0x0, duration=6053.149s, table=110, n_packets=16, n_bytes=1519, priority=0 actions=drop
      cookie=0x0, duration=5574.548s, table=110, n_packets=20, n_bytes=1648, priority=16383,reg0=0x1,tun_id=0x428,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,output:1
      cookie=0x0, duration=5574.548s, table=110, n_packets=17, n_bytes=1522, priority=16384,reg0=0x2,tun_id=0x428,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2
      cookie=0x0, duration=5011.837s, table=110, n_packets=32, n_bytes=2876, priority=16383,reg0=0x1,tun_id=0x41d,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:4
      cookie=0x0, duration=5011.851s, table=110, n_packets=0, n_bytes=0, priority=16384,reg0=0x2,tun_id=0x41d,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:4
      cookie=0x0, duration=5619.306s, table=110, n_packets=22, n_bytes=1900, tun_id=0x428,dl_dst=fa:16:3e:a1:77:e4 actions=output:1
      cookie=0x0, duration=5011.880s, table=110, n_packets=35, n_bytes=3881, tun_id=0x41d,dl_dst=fa:16:3e:98:fc:fe actions=output:4
      cookie=0x0, duration=5574.608s, table=110, n_packets=32, n_bytes=3422, tun_id=0x428,dl_dst=fa:16:3e:a5:12:bd actions=output:2
      cookie=0x0, duration=5565.012s, table=110, n_packets=6, n_bytes=588, tun_id=0x428,dl_dst=fa:16:3e:97:72:fc actions=output:1
      cookie=0x0, duration=5283.409s, table=110, n_packets=33, n_bytes=3078, tun_id=0x41d,dl_dst=fa:16:3e:2c:ed:ef actions=output:1

        1. ODL1.tar
          253 kB
        2. ODL2.tar
          210 kB
        3. ODL3.tar
          216 kB

            balakrishnan balakrishnan k
            gvrangan Venkatrangan Govindarajan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: