[GBP-187] Persistence: Switch does not got to ready after ODL is up again Created: 26/Aug/15  Updated: 19/Oct/17  Resolved: 13/Jul/16

Status: Resolved
Project: groupbasedpolicy
Component/s: Renderer:OfOverlay
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Tomas Cechvala Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 4194

 Description   

This occured in POC demo.

How to reproduce:
1) run any demo that renders flows to switch (create policy, register endpoints).
2) kill ODL, don't remove persistent data
3) start ODL
4) register endpoints again (they were removed b/c OPER DS is not persistent)
5) To see the problem, change table offset.
http://controllerIp:port/restconf/config/ofoverlay:of-overlay-config
{
"of-overlay-config":

{ "gbp-ofoverlay-table-offset": 5 }

}

The problem is that table IDs don't change b/c switches are in PREPARING (not READY as they should be) state.

It's because onDataChanged event in OFOverlayNodeListener haven't occurred and so update method in SwitchManager haven't been called.

I've been talking with Martin about this.



 Comments   
Comment by Martin Sunal [ 26/Aug/15 ]

solution could be to implement DataTreeChangeListener instead of DataChangeListener

Comment by Tomas Cechvala [ 13/Jul/16 ]

Tried to replicate this after some time, the problem does not seem to occur anymore.

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