[OPNFLWPLUG-587] Message deserialization failed -- ClassCastException Created: 02/Jan/16 Updated: 27/Sep/21 Resolved: 22/Jun/17 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Anil Vishnoi | Assignee: | Anil Vishnoi |
| 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: | 4862 | ||||||||
| Priority: | Normal | ||||||||
| Description |
|
I am using Openflowplugin alternate design (openflowplugin*-li features) with ovsdb and when ovsdb tries to install flows to the switch, it sees following exception. I think this will happen irrespective to whatever openflowplugin design you use. Because of this flow installation is failing. 2016-01-02 13:35:59,829 | WARN | entLoopGroup-9-1 | OFDecoder | 256 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.7.0.SNAPSHOT | Message deserialization failed |
| Comments |
| Comment by Anil Vishnoi [ 02/Jan/16 ] |
|
FYI..I am using following OVS version
|
| Comment by Luis Gomez [ 04/Jan/16 ] |
|
This can be related to https://bugs.opendaylight.org/show_bug.cgi?id=4473, right? |
| Comment by Anil Vishnoi [ 04/Jan/16 ] |
|
yes luis, it looks like we need this patch. |
| Comment by Robert Varga [ 27/Jan/16 ] |
|
TunIpv4SrcCodec needs to implement HeaderDeserializer interface. Unfortunately the registry implementation is not really helpful with diagnosing this mismatch. https://git.opendaylight.org/gerrit/33633 adds the appropriate catch, with a warning and recovery code. The real fix must be delivered to openflowplugin, though. |
| Comment by Shuva Jyoti Kar [ 19/May/16 ] |
|
cherry picked Robert's changes to master to catch the ClassCastException |
| Comment by Miroslav Macko [ 24/Aug/16 ] |
|
Hello Shuva, What is the status here? Are there still some issues or it can be closed? Thanks, |
| Comment by Shuva Jyoti Kar [ 27/Aug/16 ] |
|
we don't see the ClassCast exception but as mentioned by Robert, the correct fix is to implement HeaderDeserializer interface and that should be done in the ofplugin |
| Comment by Tomas Slusny [ 01/Jun/17 ] |
|
Created patch that implements HeaderSerializer and HeaderDeserializer for match nicira extensions here: https://git.opendaylight.org/gerrit/#/c/58117/ |
| Comment by Tomas Slusny [ 22/Jun/17 ] |
|
Fix for this bug was merged, so I am closing this one for now. Please reopen if you are still facing this issue. |