[OVSDB-226] Termination Point (Gre Interface) not getting removed from the switch. Created: 18/Nov/15 Updated: 30/Oct/17 Resolved: 19/Apr/16 |
|
| Status: | Resolved |
| Project: | ovsdb |
| Component/s: | Southbound.Open_vSwitch |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Bhalaji Narayanan | Assignee: | Vishal Thapar |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Attachments: |
|
| External issue ID: | 4644 |
| Description |
|
Unable to delete Termination point from the Switch. The Entry is getting removed from the Ovsdb Configuration Database. Detailed steps to reproduce this issue: GET: "network-topology": { , { "tp-id": "s1-eth1", "ovsdb:port-uuid": "8cdd8fa7-da99-4fe6-a18b-01678bffbe11", "ovsdb:ofport": 1, "ovsdb:interface-uuid": "2ae1f628-501e-4bd1-b6e0-75cde1ea0a15", "ovsdb:name": "s1-eth1" } ], , { "target": "tcp:192.168.56.104:6653", "is-connected": true, "controller-uuid": "8c43c7a5-efec-4deb-90d8-567d0721935c" } ], ], ] ], ], } --------------------------------------------------------------- mininet> sh ovs-vsctl show STEP 2: Creating the TP: { , , { "option": "remote_ip", "value": "10.1.1.4" } ], mininet> sh ovs-vsctl show Port "s1-eth1" Interface "s1-eth1" Port "s1" Interface "s1" type: internal ovs_version: "2.3.1" mininet> ------------------------------- GET: (Topology Config DS) http://192.168.56.104:8181/restconf/config/network-topology:network-topology/ { "network-topology": { "topology": [ { "topology-id": "ovsdb:1", "node": [ { "node-id": "ovsdb://uuid/72391c99-db7f-40b6-a65a-56de332791b5/bridge/s1", "termination-point": [ { "tp-id": "dp1.4-interface-2", "ovsdb:options": [ { "option": "key", "value": "flow" }, { "option": "remote_ip", "value": "10.1.1.4" }, { "option": "local_ip", "value": "10.1.1.2" } ], "ovsdb:interface-type": "ovsdb:interface-type-gre", "ovsdb:name": "dp1.4-interface-2" } ] } ] } ] } } GET: http://192.168.56.104:8181/restconf/config/network-topology:network-topology/topology/ovsdb%3A1/node/ovsdb%3A%2F%2Fuuid%2F72391c99-db7f-40b6-a65a-56de332791b5%2Fbridge%2Fs1/termination-point/dp1.4-interface-2/ { "termination-point": [ { "tp-id": "dp1.4-interface-2", "ovsdb:options": [ { "option": "key", "value": "flow" }, { "option": "remote_ip", "value": "10.1.1.4" }, { "option": "local_ip", "value": "10.1.1.2" } ], "ovsdb:interface-type": "ovsdb:interface-type-gre", "ovsdb:name": "dp1.4-interface-2" } ] } STEP 3: Delete the TP. DELETE: http://192.168.56.104:8181/restconf/config/network-topology:network-topology/topology/ovsdb%3A1/node/ovsdb%3A%2F%2Fuuid%2F72391c99-db7f-40b6-a65a-56de332791b5%2Fbridge%2Fs1/termination-point/dp1.4-interface-2/ GET: http://192.168.56.104:8181/restconf/config/network-topology:network-topology/topology/ovsdb%3A1/node/ovsdb%3A%2F%2Fuuid%2F72391c99-db7f-40b6-a65a-56de332791b5%2Fbridge%2Fs1/termination-point/dp1.4-interface-2/ { "errors": { "error": [ { "error-type": "application", "error-tag": "data-missing", "error-message": "Request could not be completed because the relevant data model content does not exist " } ] } } On the switch: mininet> sh ovs-vsctl show 72391c99-db7f-40b6-a65a-56de332791b5 Manager "tcp:192.168.56.104:6640" is_connected: true Bridge "s1" Controller "tcp:192.168.56.104:6653" is_connected: true Controller "ptcp:6634" fail_mode: secure Port "dp1.4-interface-2" Interface "dp1.4-interface-2" type: gre options: {key=flow, local_ip="10.1.1.2", remote_ip="10.1.1.4"} Port "s1-eth1" ------------------------------------------ |
| Comments |
| Comment by Bhalaji Narayanan [ 18/Nov/15 ] |
|
Attachment karaf.log.tpdelete.txt has been added with description: karaf log when tp was deleted – Check timestamp 1:28:45 till end of file |
| Comment by Bhalaji Narayanan [ 18/Nov/15 ] |
|
Attachment karaf.log.tpcreate.txt has been added with description: karaf log with tp was created... look at timestamp 1:26:45 till end of file |
| Comment by Bhalaji Narayanan [ 18/Nov/15 ] |
|
Attachment tp-create.pcapng has been added with description: Wireshark Capture – when tp was created |
| Comment by Bhalaji Narayanan [ 18/Nov/15 ] |
|
Attachment tp-delete.pcapng has been added with description: wireshark capture when tp was deleted. |
| Comment by Bhalaji Narayanan [ 18/Nov/15 ] |
|
ODL release: Be Latest. |
| Comment by Vishal Thapar [ 18/Jan/16 ] |
|
Fix in stable/beryllium: https://git.opendaylight.org/gerrit/#/c/32926/ |
| Comment by Vishal Thapar [ 04/Mar/16 ] |
|
workaround added to vpnservice code for now. Proper fix will be taken up later. |
| Comment by Vishal Thapar [ 19/Apr/16 ] |