[OVSDB-236] southbound fails to delete OvsdbNode from config and operational Created: 10/Dec/15 Updated: 19/Oct/17 Resolved: 18/Dec/15 |
|
| Status: | Resolved |
| Project: | ovsdb |
| Component/s: | Southbound.Open_vSwitch |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Sam Hague | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| External issue ID: | 4756 | ||||||||
| Description |
|
Adding a OvsdbNode via RESTCONF and then deleting it via RESTCONF fails to remove the OvsdbNode from config and operational. I see exceptions like below. I think maybe the ownership has changed or been removed for this ODL and the pending mdsal updates fail because there is no owner. Some longer time later the config and operational do cleanup. karaf log is attached. 2015-12-10 16:16:03,081 | WARN | lt-dispatcher-17 | SimpleShardDataTreeCohort | 163 - org.opendaylight.controller.sal-distributed-datastore - 1.3.0.SNAPSHOT | Unexpected failure in validation phase Steps: 1. start ovsdb to pssive listen: sudo ovs-vsctl set-manager ptcp:6640 [add] } [get] |
| Comments |
| Comment by Sam Hague [ 10/Dec/15 ] |
|
Attachment karaf.log has been added with description: karaf log showing exceptions |
| Comment by Jamo Luhrsen [ 16/Dec/15 ] |
|
a different repro: 1. install odl-ovsdb-southbound-impl-rest doing the above with a distro built on 12/15 (master) [0] showed these [0] distribution-karaf-0.4.0-20151215.221738-2802.zip |
| Comment by Jamo Luhrsen [ 16/Dec/15 ] |
|
Attachment 4756.karaf.log has been added with description: karaf log |
| Comment by Jamo Luhrsen [ 16/Dec/15 ] |
|
Also just hit this by having an ovs actively trying to connect while brining |
| Comment by Sam Hague [ 17/Dec/15 ] |
|
Good point to add that if the odl-ovsdb-southbound-impl-ui feature is used rather than odl-ovsdb-southbound-rest then the error does not occur. The -ui feature starts with -rest and adds odl-mdsal-apidocs and odl-mdsal-xsql. |
| Comment by Sam Hague [ 18/Dec/15 ] |
|
(In reply to Sam Hague from comment #4) Should also note that this could be mere coincidence that the -ui feature doesn't show the problem. The issue seems to be timing related so the -ui could just be masking the issue. |