[OVSDB-419] L2GW LogicalSwitch tunnel is not created Created: 14/Jun/17 Updated: 30/Oct/17 Resolved: 04/Jul/17 |
|
| Status: | Resolved |
| Project: | ovsdb |
| Component/s: | Southbound.hw_vtep |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Ran Xiao | Assignee: | Vishal Thapar |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 8690 | ||||||||
| Description |
|
L2GW LogicalSwitch tunnel is not created after executed l2gateway connection creation command. Environment details: The following logs are found in Karaf.log , ]insert [encapsulation_type : vxlan_over_ipv4 , dst_ip : 10.0.0.10 , ] insert [locators : [PhysicalLocator_Random_8b95ac7a75414bfeaed47dc246aeadda] , ] insert [locator_set : PhysicalLocatorSet_Random_82148b021d94464bb06049e90e1b4e67 , logical_switch : f7617bb2-98ca-4ba0-9c61-94df217e29c6 , MAC : unknown-dst , ] insert [logical_switch : f7617bb2-98ca-4ba0-9c61-94df217e29c6 , MAC : fa:16:3e:ea:8b:fe , ] Cause of failure: When tunnel was created successfully, there were two transactions in ovsdb. , ] |
| Comments |
| Comment by Ran Xiao [ 16/Jun/17 ] |
|
UPDATES: The following error occurred when we adding HWVTEP Node. Errors: 2017-06-14 14:14:36,047 | ERROR | on-dispatcher-66 | TransactInvokerImpl | 292 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.1.SNAPSHOT | HWVTEP transaction operation failed referential integrity violation Table Ucast_Macs_Remote column locator row 17ddb12a-f4de-487d-908f-1717790100f1 references nonexistent row 00000000-0000-0000-0000-000000000000 in table Physical_Locator. 2017-06-14 14:14:36,047 | ERROR | on-dispatcher-66 | TransactInvokerImpl | 292 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.1.SNAPSHOT | Failed transaction insert [name : 30ae2d8c-5361-45be-b7a8-a93abf722e8f , tunnel_key : [96] , ] insert [encapsulation_type : vxlan_over_ipv4 , dst_ip : 10.0.0.10 , ] insert [locators : [PhysicalLocator_Random_61098e5741e640c6a118896b0c87e1c9] , ] insert [locator_set : PhysicalLocatorSet_Random_49a5353230ee467c8a8254689b15a162 , logical_switch : LogicalSwitch_30ae2d8c_5361_45be_b7a8_a93abf722e8f , MAC : unknown-dst , ] insert [logical_switch : LogicalSwitch_30ae2d8c_5361_45be_b7a8_a93abf722e8f , MAC : fa:16:3e:fa:1d:10 , ] Cause of failure: The operation order of OVSDB is incorrect. The uuid of LogicalSwitch_30ae2d8c_5361_45be_b7a8_a93abf722e8f will not be assigned if update [vlan_bindings : {2222=LogicalSwitch_30ae2d8c_5361_45be_b7a8_a93abf722e8f} , ] is not executed after Logical Switch creation with operation of insert [name : 30ae2d8c-5361-45be-b7a8-a93abf722e8f , tunnel_key : [96] , ] Root cause: Detailed info of adding HWVTEP Node Commans executed: ' | tr -d ' ') |
| Comment by Ran Xiao [ 19/Jun/17 ] |
|
Please ignore this comment as we found this's a different bug. (In reply to Ran Xiao from comment #1) > 2017-06-14 14:14:36,047 | ERROR | on-dispatcher-66 | TransactInvokerImpl > | 292 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.1.SNAPSHOT | > HWVTEP transaction operation failed referential integrity violation Table > Ucast_Macs_Remote column locator row 17ddb12a-f4de-487d-908f-1717790100f1 > references nonexistent row 00000000-0000-0000-0000-000000000000 in table > Physical_Locator. > 2017-06-14 14:14:36,047 | ERROR | on-dispatcher-66 | TransactInvokerImpl > | 292 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.1.SNAPSHOT | > Failed transaction insert [name : 30ae2d8c-5361-45be-b7a8-a93abf722e8f , > tunnel_key : [96] , ] insert [encapsulation_type : vxlan_over_ipv4 , > dst_ip : 10.0.0.10 , ] insert [locators : > [PhysicalLocator_Random_61098e5741e640c6a118896b0c87e1c9] , ] insert > [locator_set : PhysicalLocatorSet_Random_49a5353230ee467c8a8254689b15a162 , > logical_switch : LogicalSwitch_30ae2d8c_5361_45be_b7a8_a93abf722e8f , MAC : > unknown-dst , ] insert [logical_switch : > LogicalSwitch_30ae2d8c_5361_45be_b7a8_a93abf722e8f , MAC : fa:16:3e:fa:1d:10 > , ] > > Cause of failure: > The operation order of OVSDB is incorrect. > > The uuid of LogicalSwitch_30ae2d8c_5361_45be_b7a8_a93abf722e8f will not be > assigned if update [vlan_bindings : > {2222=LogicalSwitch_30ae2d8c_5361_45be_b7a8_a93abf722e8f} , ] is not ' | |
| Comment by Ran Xiao [ 22/Jun/17 ] |
|
This bug will be fixed by the proposal of |
| Comment by suneel verma [ 03/Jul/17 ] |
|
Ran, |
| Comment by Ran Xiao [ 04/Jul/17 ] |
|
Suneel, |