[OVSDB-240] IllegalArgumentException in operational delete: unable to connect ovs to plugin Created: 16/Dec/15 Updated: 27/Jan/16 Resolved: 27/Jan/16 |
|
| Status: | Resolved |
| Project: | ovsdb |
| Component/s: | Other |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jamo Luhrsen | Assignee: | Stephen Kitt |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 4794 |
| Priority: | High |
| Comments |
| Comment by Jamo Luhrsen [ 16/Dec/15 ] |
|
I hit this by repeating these steps several times: 1) create bridge in config The first few iterations did not seem to have trouble, but then the IAE PUT sent to: with this data: { ], |
| Comment by Jamo Luhrsen [ 16/Dec/15 ] |
|
Attachment 4794.karaf.log has been added with description: karaf.log |
| Comment by Sam Hague [ 17/Dec/15 ] |
|
Jamo, what features are loaded? |
| Comment by Jamo Luhrsen [ 17/Dec/15 ] |
|
(In reply to Sam Hague from comment #3) just odl-ovsdb-southbound-impl-rest |
| Comment by Sam Hague [ 20/Jan/16 ] |
|
lithium: https://git.opendaylight.org/gerrit/#/c/32123/ |
| Comment by Jamo Luhrsen [ 22/Jan/16 ] |
|
this is still there. I am pushing a system test to let us see it in CSIT: but, the basic steps in comment #1 are all we need, except that I first |
| Comment by Stephen Kitt [ 22/Jan/16 ] |
|
Robert Varga suspects this is a bug in OVSDB: https://lists.opendaylight.org/pipermail/controller-dev/2016-January/011309.html "It does look like a lifecycle issue with manager-entry (which is a list). According to the message, you are attempting to delete an item in the list, but the list itself does not exist – probably deleted asynchronously by another process, such as restconf or some other part of OVSDB which does not observe the same event causality (e.g. a TransactionChain instance) as OvsdbNodeRemoveCommand." |
| Comment by Stephen Kitt [ 26/Jan/16 ] |
|
I'm wondering if this could be caused by the ownership change handling: in OvsdbConnectionManager::handleOwnershipChanged(), if the instance is null and the entity has no owner, we forcefully clean up the operational data without going through the transaction invoker. If there's an OvsdbNodeRemoveCommand still in the invoker's queue, the clean-up will go through first, leaving the queued command dangling... The smoking gun is the "has no owner, cleaning up the operational data store" line right before the transaction failure, just after the "Cleaning up the operational data store" line which indicates the start of an invoker-driven transaction. |
| Comment by Stephen Kitt [ 26/Jan/16 ] |
| Comment by Sam Hague [ 26/Jan/16 ] |
|
https://git.opendaylight.org/gerrit/33556 |
| Comment by Jamo Luhrsen [ 27/Jan/16 ] |
|
CSIT shows that this Exception is no longer there. There is still a failure |