Details
-
Bug
-
Status: Resolved
-
Medium
-
Resolution: Won't Do
-
Boron
-
None
-
None
-
Operating System: All
Platform: All
-
8132
Description
In ovs I can see a lot of remaining tables/groups although all stuff is deleted from openstack. The only remainin stuff should be the vxlan tunnels or? If tables are not cleanup that can last in difficulties when wrong matching happens later! One thing I noticed it that the vpn-interfaces and the vpn-instances are not deleted at all in the data store.
OFPST_FLOW reply (OF1.3) (xid=0x2):
table=0, n_packets=14528, n_bytes=1068589, priority=5,in_port=3 actions=write_metadata:0x30000000001/0xfffff0000000001,goto_table:36
table=0, n_packets=13118, n_bytes=994518, priority=1,in_port=1 actions=write_metadata:0xb0000000001/0xffffff0000000001,goto_table:17
table=0, n_packets=3434, n_bytes=269557, priority=5,in_port=5 actions=write_metadata:0x140000000001/0xfffff0000000001,goto_table:36
table=0, n_packets=4604, n_bytes=381230, priority=5,in_port=7 actions=write_metadata:0x190000000001/0xfffff0000000001,goto_table:36
table=17, n_packets=13117, n_bytes=994464, priority=5,metadata=0xb0000000000/0xffffff0000000000 actions=write_metadata:0x60000b00000222e0/0xfffffffffffffffe,goto_table:19
table=17, n_packets=13106, n_bytes=993347, priority=6,metadata=0x60000b0000000000/0xffffff0000000000 actions=load:0xb->NXM_NX_REG1[0..19],write_metadata:0x70000b138b000000/0xfffffffffffffffe,goto_table:48
table=17, n_packets=792, n_bytes=76738, priority=5,metadata=0x5000120000000000/0xffffff0000000000 actions=write_metadata:0x60001200000222ec/0xfffffffffffffffe,goto_table:19
table=17, n_packets=667, n_bytes=62902, priority=5,metadata=0x5000160000000000/0xffffff0000000000 actions=write_metadata:0x6000160000022308/0xfffffffffffffffe,goto_table:19
table=17, n_packets=0, n_bytes=0, priority=0,metadata=0x5000000000000000/0xf000000000000000 actions=write_metadata:0x6000000000000000/0xf000000000000000,goto_table:80
table=18, n_packets=0, n_bytes=0, priority=0 actions=goto_table:38
table=19, n_packets=87, n_bytes=3654, priority=100,arp,arp_op=2 actions=CONTROLLER:65535,resubmit(,17)
table=19, n_packets=211, n_bytes=8862, priority=100,arp,arp_op=1 actions=group:5000
table=19, n_packets=16043, n_bytes=1280518, priority=0 actions=resubmit(,17)
table=20, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
table=21, n_packets=1, n_bytes=98, priority=42,icmp,metadata=0x222ea/0xfffffffe,nw_dst=10.10.10.1,icmp_type=8,icmp_code=0 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:eb:b3:02>eth_src,move:NXM_OF_IP_SRC[]>NXM_OF_IP_DST[],set_field:10.10.10.1>ip_src,set_field:0->icmp_type,load:0->NXM_OF_IN_PORT[],resubmit(,21)
table=22, n_packets=0, n_bytes=0, priority=0 actions=CONTROLLER:65535
table=36, n_packets=0, n_bytes=0, priority=5,tun_id=0x138b actions=write_actions(group:210005)
table=36, n_packets=0, n_bytes=0, priority=5,tun_id=0xb actions=load:0xb00->NXM_NX_REG6[],resubmit(,220)
table=40, n_packets=9, n_bytes=810, priority=0 actions=drop
table=41, n_packets=1576, n_bytes=151597, priority=62020,ct_state=-new+est-rel-inv+trk actions=resubmit(,17)
table=41, n_packets=0, n_bytes=0, priority=62020,ct_state=-new-est+rel-inv+trk actions=resubmit(,17)
table=41, n_packets=0, n_bytes=0, priority=62020,ct_state=+inv+trk actions=drop
table=41, n_packets=0, n_bytes=0, priority=50,ct_state=+new+trk actions=drop
table=41, n_packets=0, n_bytes=0, priority=0 actions=drop
table=45, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17)
table=48, n_packets=16499, n_bytes=1307268, priority=0 actions=resubmit(,49),resubmit(,50)
table=50, n_packets=8167, n_bytes=441506, idle_timeout=300, send_flow_rem priority=20,metadata=0xb138b000000/0xfffffffff000000,dl_src=52:54:00:0b:9a:a1 actions=goto_table:51
table=50, n_packets=1628, n_bytes=183964, idle_timeout=300, send_flow_rem priority=20,metadata=0xb138b000000/0xfffffffff000000,dl_src=ce:f7:d9:be:5c:cc actions=goto_table:51
table=50, n_packets=1628, n_bytes=180708, idle_timeout=300, send_flow_rem priority=20,metadata=0xb138b000000/0xfffffffff000000,dl_src=6e:67:ff:8c:e4:1b actions=goto_table:51
table=50, n_packets=1628, n_bytes=183964, idle_timeout=300, send_flow_rem priority=20,metadata=0xb138b000000/0xfffffffff000000,dl_src=42:1d:d5:75:fc:f9 actions=goto_table:51
table=50, n_packets=6, n_bytes=523, priority=10,reg4=0x1 actions=goto_table:51
table=50, n_packets=36, n_bytes=1596, priority=0 actions=CONTROLLER:65535,learn(table=49,hard_timeout=10,priority=0,cookie=0x8600000,NXM_OF_ETH_SRC[],NXM_NX_REG1[0..19],load:0x1->NXM_NX_REG4[0..7]),goto_table:51
table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x138b000000/0xffff000000,dl_dst=52:54:00:0b:9a:a1 actions=load:0xb00->NXM_NX_REG6[],resubmit(,220)
table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x138b000000/0xffff000000,dl_dst=ce:f7:d9:be:5c:cc actions=load:0xb00->NXM_NX_REG6[],resubmit(,220)
table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x138b000000/0xffff000000,dl_dst=6e:67:ff:8c:e4:1b actions=load:0xb00->NXM_NX_REG6[],resubmit(,220)
table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x138b000000/0xffff000000,dl_dst=42:1d:d5:75:fc:f9 actions=load:0xb00->NXM_NX_REG6[],resubmit(,220)
table=51, n_packets=13241, n_bytes=1004259, priority=0 actions=goto_table:52
table=52, n_packets=13106, n_bytes=993347, priority=5,metadata=0x138b000001/0xffff000001 actions=write_actions(group:210005)
table=52, n_packets=0, n_bytes=0, priority=5,metadata=0x138b000000/0xffff000001 actions=write_actions(group:210006)
table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0xb,metadata=0xb0000000000/0xfffff0000000000 actions=drop
table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0xb actions=load:0xb00->NXM_NX_REG6[],resubmit(,220)
table=60, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17)
table=80, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17)
table=81, n_packets=20, n_bytes=840, priority=100,arp,metadata=0x60001200000222ec/0xffffff00fffffffe,arp_tpa=10.10.10.1,arp_op=1 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:f8:3d:d6>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:0xfa163ef83dd6->NXM_NX_ARP_SHA[],load:0xa0a0a01->NXM_OF_ARP_SPA[],load:0->NXM_OF_IN_PORT[],load:0x1200->NXM_NX_REG6[],resubmit(,220)
table=81, n_packets=0, n_bytes=0, priority=100,arp,metadata=0x6000160000022308/0xffffff00fffffffe,arp_tpa=10.10.10.1,arp_op=1 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:eb:b3:02>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:0xfa163eebb302->NXM_NX_ARP_SHA[],load:0xa0a0a01->NXM_OF_ARP_SPA[],load:0->NXM_OF_IN_PORT[],load:0x1600->NXM_NX_REG6[],resubmit(,220)
table=81, n_packets=137, n_bytes=5754, priority=0 actions=drop
table=220, n_packets=0, n_bytes=0, priority=8,reg6=0xb00,metadata=0x1/0x1 actions=drop
table=220, n_packets=304, n_bytes=25232, priority=7,reg6=0xb00 actions=output:1
table=220, n_packets=787, n_bytes=76434, priority=7,reg6=0x70001200 actions=output:4
table=220, n_packets=763, n_bytes=71540, priority=7,reg6=0x70001600 actions=output:6
table=251, n_packets=16, n_bytes=2260, priority=0 actions=drop
table=252, n_packets=4394, n_bytes=426033, priority=62020,ct_state=-new+est-rel-inv+trk actions=resubmit(,220)
table=252, n_packets=0, n_bytes=0, priority=62020,ct_state=-new-est+rel-inv+trk actions=resubmit(,220)
table=252, n_packets=3, n_bytes=378, priority=62020,ct_state=+inv+trk actions=drop
table=252, n_packets=0, n_bytes=0, priority=50,ct_state=+new+trk actions=drop
table=252, n_packets=0, n_bytes=0, priority=0 actions=drop
OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
group_id=210006,type=all,bucket=actions=group:210005,bucket=actions=set_field:0x138b->tun_id,output:3,bucket=actions=load:0xb00->NXM_NX_REG6[],resubmit(,220)
group_id=150005,type=all,bucket=actions=set_field:fa:16:3e:f8:3d:d6->eth_src,set_field:fa:16:3e:c1:e7:f3->eth_dst,load:0x1200->NXM_NX_REG6[],resubmit(,220)
group_id=200000,type=all,bucket=actions=set_field:00:72:2b:16:87:6c->eth_dst,load:0xb00->NXM_NX_REG6[],resubmit(,220)
group_id=210005,type=all
group_id=5000,type=all,bucket=actions=CONTROLLER:65535,bucket=actions=resubmit(,17),bucket=actions=resubmit(,81)
1(br-ex-patch): addr:ea:a7:8e:97:12:2c
3(tunfcf91e373ca): addr:a2:5a:37:6f:f3:4a
5(tunbc3fdd30422): addr:d6:fa:df:c2:f7:c6
7(tunffa5e6e85eb): addr:8a:5b:95:8d:9b:77
LOCAL(br-int): addr:b0:51:0d:b9:ce:b0
in Openstack:
- neutron port-list
nova list
-------------------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
-------------------------------------------+
-------------------------------------------+
In datastore:
>>> odl.o()
Sending METHOD (get) URL (http://192.0.2.4:8081/controller/nb/v2/neutron/networks) JSON (None)
Sending METHOD (get) URL (http://192.0.2.4:8081/controller/nb/v2/neutron/networks) JSON (None)
Sending METHOD (get) URL (http://192.0.2.4:8081/controller/nb/v2/neutron/ports) JSON (None)
------------Networks----------------
[
]
------------Subnets----------------
[
]
------------Ports----------------
[]
------------l3_vpn_instance----------------
Sending METHOD (get) URL (http://192.0.2.4:8081/restconf/config/l3vpn:vpn-instances) JSON (None)
{ u'vpn-instances': { u'vpn-instance': [ { u'ipv4-family': { u'route-distinguisher': u'12:12',
u'vpnTargets': { u'vpnTarget': [
,
]}},
u'vpn-instance-name': u'8dbb1406-9dc8-4972-88f9-d56270f55a43'},
{ u'ipv4-family': { u'vpnTargets': { }},
u'vpn-instance-name': u'd650c111-ef3f-41db-a7d4-c46b1617a670'},
{ u'ipv4-family': { u'route-distinguisher': u'18:18',
u'vpnTargets': { u'vpnTarget': [
]}},
u'vpn-instance-name': u'a493adf2-2a47-4c04-9540-54a754cdc9f3'},
{ u'ipv4-family': { u'route-distinguisher': u'18:18',
u'vpnTargets': { u'vpnTarget': [
]}},
u'vpn-instance-name': u'6edc0fc0-f3ad-4df7-ac33-971949b962ea'}]}}
------------vpn_interfaces----------------
Sending METHOD (get) URL (http://192.0.2.4:8081/restconf/config/l3vpn:vpn-interfaces) JSON (None)
{ u'vpn-interfaces': { u'vpn-interface': [ { u'is-router-interface': False,
u'name': u'a03f221a-05f0-4df6-b03b-9de34dc25d9e',
u'odl-l3vpn:adjacency': [
],
u'vpn-instance-name': u'8dbb1406-9dc8-4972-88f9-d56270f55a43'},
,
,
{ u'is-router-interface': False,
u'name': u'20ebd92d-f0ea-40aa-9f67-b6c52305ba53',
u'odl-l3vpn:adjacency': [
],
u'vpn-instance-name': u'99a4fe5c-5f6d-4765-b7c1-f6c6007c1a3d'},
{ u'is-router-interface': False,
u'name': u'2c446de6-be84-4622-8004-818475b49c17',
u'odl-l3vpn:adjacency': [
],
u'vpn-instance-name': u'dd88fdb4-cfdc-4ed4-a0ac-d75d15ab5f77'},
{ u'is-router-interface': False,
u'name': u'14eb672d-2c8d-4f5e-b68e-46633bf3dc01',
u'odl-l3vpn:adjacency': [
],
u'vpn-instance-name': u'99a4fe5c-5f6d-4765-b7c1-f6c6007c1a3d'},
{ u'is-router-interface': False,
u'name': u'2ea9bc81-9aa9-4aef-baad-7ed0b09d4e9b',
u'odl-l3vpn:adjacency': [
],
u'vpn-instance-name': u'a493adf2-2a47-4c04-9540-54a754cdc9f3'},
{ u'is-router-interface': False,
u'name': u'6db295d9-48af-4334-abcb-119f70445323',
u'odl-l3vpn:adjacency': [
],
u'vpn-instance-name': u'8dbb1406-9dc8-4972-88f9-d56270f55a43'},
{ u'is-router-interface': False,
u'name': u'49243102-f92b-4289-b570-b7acc0c211c1',
u'odl-l3vpn:adjacency': [
],
u'vpn-instance-name': u'8dbb1406-9dc8-4972-88f9-d56270f55a43'},
{ u'is-router-interface': False,
u'name': u'e9448960-b7e7-4746-bac7-2eb7979e03cc',
u'odl-l3vpn:adjacency': [
],
u'vpn-instance-name': u'8dbb1406-9dc8-4972-88f9-d56270f55a43'},
,
{ u'is-router-interface': False,
u'name': u'9d420291-6d4e-434f-abab-c5aa0136f5cd',
u'odl-l3vpn:adjacency': [
],
u'vpn-instance-name': u'8dbb1406-9dc8-4972-88f9-d56270f55a43'},
,
{ u'is-router-interface': False,
u'name': u'40343197-9e38-4263-9b24-71d527d3566e',
u'odl-l3vpn:adjacency': [
],
u'vpn-instance-name': u'a493adf2-2a47-4c04-9540-54a754cdc9f3'}]}}
------------ietf_interface----------------
Sending METHOD (get) URL (http://192.0.2.4:8081/restconf/config/ietf-interfaces:interfaces) JSON (None)
{ u'interfaces': { u'interface': [
,
,
,
,
,
,
,
,
,
,
,
,
,
{ u'description': u'VXLAN Trunk Interface',
u'enabled': True,
u'name': u'tun1d81037158f',
u'odl-interface:datapath-node-identifier': 53407969530085,
u'odl-interface:internal': True,
u'odl-interface:monitor-enabled': True,
u'odl-interface:monitor-interval': 1000,
u'odl-interface:monitor-protocol': u'odl-interface:tunnel-monitoring-type-bfd',
u'odl-interface:tunnel-destination': u'11.0.0.24',
u'od...