[CONTROLLER-1407] Clustering: The flows are not re-installed when switch is disconnected and reconnected to same follower node in a 3 node cluster Created: 21/Aug/15 Updated: 26/Jan/16 Resolved: 26/Jan/16 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | clustering |
| Affects Version/s: | Lithium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Sanjib Mohapatra | Assignee: | Muthukumaran Kothandaraman |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 4164 |
| Priority: | High |
| Description |
|
In 3 node cluster, Applied flows in a Follower node and switch is connected to another follower node. The flows are not re-installed when switch is disconnected and reconnected to same follower node . 1. All three nodes (c1, c2 and c3) of clusters are running in VM mode. 2. Following features are installed in the cluster nodes. feature:install odl-restconf-all 3. Verified all 2550 and 2551 ports are up in all cluster nodes. root@mininet-vm:~# netstat -na | grep 2550 4. via Jconsole found that c1 is leader (opendayligh controller --> config data -> Inventory module -> shard -> attribute) , c2 and c3 are followers. 5. Connected Mininet OF switch to follower c2. root@mininet-vm:/home/mininet/integration/test/tools/odl-mdsal-clustering-tests/clustering-performance-test# sudo mn – controller=remote,ip=10.183.181.42 --topo=linear,1 --switch ovsk,protocols=OpenFlow13 6. Sent 10 flows from another follower c3. root@mininet-vm:/home/mininet/integration/test/tools/odl-mdsal-clustering-tests/clustering-performance-test# ./flow_config_blaster.py --flows 10 --auth – no-delete Cycle 0: Total success rate: 11.67, Total rate: 11.67
root@mininet-vm:/home/mininet/integration/test/tools/odl-mdsal-clustering-tests/clustering-performance-test# 7. Verify 10 Flows are installed in switch. mininet> sh ovs-ofctl -O Openflow13 dump-flows s1 8. Disconnect the switch and connect the switch back to Follower node c2. mininet> sh ovs-ofctl -O Openflow13 dump-flows s1 I see no flows. |
| Comments |
| Comment by Sanjib Mohapatra [ 21/Aug/15 ] |
|
Attachment All Controllers Log.rar has been added with description: All Controller nodes karaf logs |
| Comment by Sanjib Mohapatra [ 21/Aug/15 ] |
|
An important comment: Thanks |
| Comment by Sanjib Mohapatra [ 03/Nov/15 ] |
|
This issue is there in SR2. Moving the importance of it to critical. As it is a must for basic cluster HA operation. |
| Comment by Muthukumaran Kothandaraman [ 20/Jan/16 ] |
|
With Beryllium master and Helium plugin combination, this issue is not reproducible consistently. This has to be investigated further with Helium and Lithium plugin combination. |