[CONTROLLER-1334] UnsupportedOperationException occurred in data change event listener Created: 22/May/15 Updated: 25/Jul/23 Resolved: 03/Jun/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Hideyuki Tai | Assignee: | Tony Tkacik |
| Resolution: | Done | 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: | 3344 | ||||||||||||
| Description |
|
I'm using a controller built on the latest code on the master branch of the integration.git. When I connected OpenDaylight Controller to OpenFlow switches, I observed UnsupportedOperationException occurred on a thread calling AsyncDataChangeEvent.getCreatedData(). java.lang.UnsupportedOperationException: \ At this time, inventory-manager updated nodes information. I've never observed this exception before 05/20, but I frequently observed this exception after 05/20. Error message on karaf.log 2015-05-22 05:22:57,442 | ERROR | ult-dispatcher-4 | NodeListener | 345 - org.opendaylight.vtn.manager.implementation - 0.3.0.SNAPSHOT | Unexpected exception in data change event listener. |
| Comments |
| Comment by Hideyuki Tai [ 22/May/15 ] |
|
Due to this issue, VTN Manager cannot work correctly. |
| Comment by Hideyuki Tai [ 22/May/15 ] |
|
How to reproduce the issue 1. Run a controller built for Lithium. $ bin/karaf 2. Install VTN Manager features. feature:install odl-vtn-manager-rest 3. Run Mininet and Connect it to the controller. You may observe UnsupportedOperationException in karaf.log. What I used I used the latest code on the master branch of the integration.git on 22nd May, 2015. $ git log --oneline | head -1 I executed "mvn clean install" in the distribution/karaf directory of the integration.git code tree. $ cd distributions/karaf |
| Comment by Tony Tkacik [ 24/May/15 ] |
| Comment by Hideyuki Tai [ 26/May/15 ] |
|
(In reply to Tony Tkacik from comment #3) Hi Tony, Thank you for creating the patch (Gerrit 21026). However, it seems to me that the patch does not fix the problem. I pulled the patch, built the sal-binding-broker-impl-1.2.0-SNAPSHOT.jar, and put the jar file into my local Karaf distribution. 2015-05-26 04:25:26,068 | ERROR | lt-dispatcher-24 | NodeListener | 345 - org.opendaylight.vtn.manager.implementation - 0.3.0.SNAPSHOT | Unexpected exception in data change event listener. |
| Comment by Tony Tkacik [ 27/May/15 ] |
|
Is this single node or multi-node claster? |
| Comment by Shigeru Yasuda [ 27/May/15 ] |
|
(In reply to Tony Tkacik from comment #5) Single node. VTN does not support multi-node cluster yet. I guess that clustering is irrelevant to this issue because this exception is sometimes observed in VTN's IT. VTN's IT uses in-memory datastore. |
| Comment by Shigeru Yasuda [ 27/May/15 ] |
|
Attachment VTN-IT-backtrace.txt has been added with description: UnsupportedOperationException in VTN's IT |
| Comment by Hideyuki Tai [ 02/Jun/15 ] |
|
This bug has not been fixed yet. I observed this bug with the latest artifacts at 10 AM on 06/02 (PDT). I did the exactly same steps which I wrote in the comment 2 of this report. I tried the steps two times, and I observed the issues all times (100%). What I used I used the latest code on the master branch of the integration.git on 2nd June, 2015. $ git log --oneline | head -1 |
| Comment by Tony Tkacik [ 03/Jun/15 ] |
| Comment by Tony Tkacik [ 03/Jun/15 ] |
|
Alternate fix: https://git.opendaylight.org/gerrit/#/c/21795/ |
| Comment by Hideyuki Tai [ 03/Jun/15 ] |
|
I've confirmed that after the following patch is merged, the https://git.opendaylight.org/gerrit/#/c/21795/ Thanks for the patch! |