[L2SWITCH-32] Hosts shown after disconnecting mininet when cluster is enabled Created: 25/Jan/15  Updated: 19/Oct/17  Due: 12/Apr/15  Resolved: 22/Jun/15

Status: Resolved
Project: l2switch
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Luis Gomez Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: 1 day
Environment:

Operating System: Linux
Platform: PC


External issue ID: 2640
Priority: Low

 Description   

l2switch hosttracker shows hosts after disconnecting mininet when cluster feature is enabled.

Steps to reproduce:

1) Start karaf with features: odl-l2switch-switch-ui and odl-mdsal-clustering

2) Start mininet any topology, for example:
sudo mn --controller=remote,ip=127.0.0.1 --switch=ovsk,protocols=OpenFlow13 --topo tree,2

3) Do a mininet pingall and verify hosts show correctly in dlux

4) Stop mininet

5) Check there are some hosts still showing in dlux

BR/Luis



 Comments   
Comment by André Martins [ 22/Mar/15 ]

More info here:
https://git.opendaylight.org/gerrit/#/c/10412/7

Comment by André Martins [ 25/Mar/15 ]

After looking it again into this nasty bug I found out what is happening:

  • Transactions are note being committed by the same order they are submitted

Colin has suggested to implement a TransactionChain. I agree that's the best solution.
I will take care of implementing a TransactionChain over the next days to hosttracker (best case scenario next week, worst case scenario a couple of weeks).

Comment by André Martins [ 10/Apr/15 ]

This will be resolved by Evan

Comment by Evan Zeller [ 22/Apr/15 ]

https://git.opendaylight.org/gerrit/#/c/18786/

This patch makes it better, but still sometimes one host may slip by. Only in the topology and never in inventory. Not sure of the cause of that and if it's related to this bug or not.

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