[OVSDB-156] Clustering: Errors if controller started after OVS configured with set-manager Created: 17/May/15 Updated: 14/Jan/19 Resolved: 12/Jun/15 |
|
| Status: | Resolved |
| Project: | ovsdb |
| Component/s: | Southbound.Open_vSwitch |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Keith Burns | Assignee: | Unassigned |
| Resolution: | Done | 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: | 3238 | ||||||||
| Priority: | High | ||||||||
| Description |
|
If I have an OVS instance with "set-manager" set to point to the controller THEN I remove journal etc (persisted data) and start controller I see following over and over again: If I reverse that order: I do not. What I see instead is over and over: Every 5 seconds. Note I haven't done anything at all except load my features in either case. There is no config other than a bridge in either case, and NO PERSISTED STATE in any case.
|
| Comments |
| Comment by Ed Warnicke [ 17/May/15 ] |
|
I think that this might be fixed by this: https://git.opendaylight.org/gerrit/#/c/20619/ Basically, you are telling karaf to start sfc-ovs before ovsdb-southbound. This patch tells karaf to start ovsdb-southbound before sfc-ovs. I can't quite explain everything I see in the logs from this, but it has a pretty good chance of fixing the issue. Would someone please test it? |
| Comment by Moiz Raja [ 18/May/15 ] |
|
Patch for the "Failed to acquire operation permit" issue |
| Comment by Tony Tkacik [ 19/May/15 ] |
|
Seems as duplicate of |
| Comment by Keith Burns [ 22/May/15 ] |
|
I still have the same issue. Note we have EVERY SFC feature loaded and Ed had a patch https://git.opendaylight.org/gerrit/#/c/20619/ to address it. When I tested this on Tuesday |
| Comment by Keith Burns [ 24/May/15 ] |
|
They key here is if there is an OVS switch configured and has set-manager configured, this happens every time you bring the controller up.. This is a big problem for us with DevStack. |
| Comment by Tony Tkacik [ 24/May/15 ] |
|
Known facts:
Theory:
So this could be OVSDB southbound bug - when remote-id is present before anything was configured to controller. @eaw: could it be this? |
| Comment by Keith Burns [ 26/May/15 ] |
|
Tony, you maybe onto something: When I do: I get endless: |
| Comment by Tony Tkacik [ 26/May/15 ] |
|
Seems this is ovsdb related somehow rather than clustering or md-sal. |
| Comment by Ed Warnicke [ 26/May/15 ] |
| Comment by Ed Warnicke [ 31/May/15 ] |
|
Should be fixed by |