[OPNFLWPLUG-609] openflowplugin[clustering] : Switch state resync after follower node restart with 15 switchs (5 switch/node) is not happening. Created: 28/Jan/16  Updated: 27/Sep/21  Resolved: 05/Feb/16

Status: Verified
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Anil Gujele Assignee: Anil Vishnoi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File resyncFailed15SwitchFollowerRestart.rar    
External issue ID: 5121

 Description   

Build used :
===================
Karaf distro from ODL Beryllium master code

Test Type :
===================
switch state resync after cluster node restart with OpenFlowPlugin(He)

Objective of test :
===================
verify switch resync when follower node is restarted.

Test Steps :
============

1. installed build
2. c1, c2 and c3 nodes are up. c1 is leader for config inventory DS and c2 is leader for operational inventory DS.
3. push 1000 flows/switch from node c3 for 15 switchs
4. connect 5 switch per node to c1, c2 and c3 node.
5. total flows in 15 switchs is 15000
6. disconnected switchs connected to c3 node.
7. restart c3 node
8. check total flows in config data store is 15000
9. reconnect 5 switchs back to c3 node.
10. total flows in reconnected 5 switchs to c3 node is 0, but expected output is 5000 (5 * 1000) flows.

Note: Same test when i tried with 3 switchs (1 switch/node) and 1000 flows/switch is working fine.

Controllers (to cross-check logs):
===================================
c1 - Controller 1 with IP 10.183.181.41
c2 - Controller 2 with IP 10.183.181.42
c3 - Controller 3 with IP 10.183.181.43

Enclosed Logs:
==============
c1.log for controller c1
c2.log for controller c2
c3.log for controller c3



 Comments   
Comment by Anil Gujele [ 28/Jan/16 ]

Attachment resyncFailed15SwitchFollowerRestart.rar has been added with description: attached logs from c1, c2,c3 node.

Comment by Abhijit Kumbhare [ 01/Feb/16 ]

Assigning to Anil (related to routed RPCs problem). Muthu will also retest with the latest & provide update by Feb 4.

Comment by Anil Gujele [ 02/Feb/16 ]

I have verified defect with build from latest ODL Berrilium master code, reconciliation is working in this scenario.

Comment by Abhijit Kumbhare [ 02/Feb/16 ]

So are you planning to close it Anil Gujele?

Comment by Muthukumaran Kothandaraman [ 02/Feb/16 ]

Verifying the consistency of fix across multiple restarts. Anil would confirm by tomorrow.

Comment by Anil Gujele [ 03/Feb/16 ]

I have tested it three time and have not seen the issue.

Generated at Wed Feb 07 20:32:55 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.