[OPNFLWPLUG-813] Errors flooding the logs (openflowplugin's "Message deserialization failed") Created: 31/Oct/16  Updated: 27/Sep/21  Resolved: 21/Feb/17

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: zan cohen Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File .zipx     File karaf.rar     File q-svc_defect7071.zipx     Zip Archive q-svc_defetc7070.zip     File screen-karaf_defect_7071.zipx    
External issue ID: 7071

 Description   

2016-10-31 10:21:13,000 | INFO | entLoopGroup-9-2 | ActionDeserializer | 295 - org.opendaylight.openflowplugin.openflowjava-extension-nicira-api - 0.3.1.SNAPSHOT | No deserializer was found for key NiciraActionDeserializerKey [version=4, subtype=19]
2016-10-31 10:21:13,000 | WARN | entLoopGroup-9-2 | OFDecoder | 286 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.8.1.SNAPSHOT | Message deserialization failed
java.lang.IllegalStateException: Deserializer for key: msgVersion: 4 objectClass: org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev150203.actions.grouping.Action msgType: 300 experimenterID: null was not found - please verify that all needed deserializers ale loaded correctly
at org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl.getDeserializer(DeserializerRegistryImpl.java:69)[286:org.opendaylight.openflowjava.openflow-protocol-impl:0.8.1.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.util.ListDeserializer.deserializeList(ListDeserializer.java:52)[286:org.opendaylight.openflowjava.openflow-protocol-impl:0.8.1.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.deserialization.instruction.AbstractActionInstructionDeserializer.deserializeActions(AbstractActionInstructionDeserializer.java:38)[286:org.opendaylight.openflowjava.openflow-protocol-impl:0.8.1.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.deserialization.instruction.ApplyActionsInstructionDeserializer.deserialize(ApplyActionsInstructionDeserializer.java:36)[286:org.opendaylight.openflowjava.openflow-protocol-impl:0.8.1.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.deserialization.instruction.ApplyActionsInstructionDeserializer.deserialize(ApplyActionsInstructionDeserializer.java:25)[286:org.opendaylight.openflowjava.openflow-protocol-impl:0.8.1.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.util.ListDeserializer.deserializeList(ListDeserializer.java:53)[286:org.opendaylight.openflowjava.openflow-protocol-impl:0.8.1.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.deserialization.factories.MultipartReplyMessageFactory.setFlow(MultipartReplyMessageFactory.java:304)[286:org.opendaylight.openflowjava.openflow-protocol-impl:0.8.1.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.deserialization.factories.MultipartReplyMessageFactory.deserialize(MultipartReplyMessageFactory.java:198)[286:org.opendaylight.openflowjava.openflow-protocol-impl:0.8.1.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.deserialization.factories.MultipartReplyMessageFactory.deserialize(MultipartReplyMessageFactory.java:148)[286:org.opendaylight.openflowjava.openflow-protocol-impl:0.8.1.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializationFactory.deserialize(DeserializationFactory.java:59)[286:org.opendaylight.openflowjava.openflow-protocol-impl:0.8.1.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.core.OFDecoder.decode(OFDecoder.java:55)[286:org.opendaylight.openflowjava.openflow-protocol-impl:0.8.1.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.core.OFDecoder.decode(OFDecoder.java:28)[286:org.opendaylight.openflowjava.openflow-protocol-impl:0.8.1.SNAPSHOT]



 Comments   
Comment by zan cohen [ 01/Nov/16 ]

Attachment q-svc_defetc7070.zip has been added with description: ignore this logs!!

Comment by zan cohen [ 01/Nov/16 ]

Attachment q-svc_defect7071.zipx has been added with description: q-svc

Comment by zan cohen [ 01/Nov/16 ]

Attachment screen-karaf_defect_7071.zipx has been added with description: Karaf logs

Comment by zan cohen [ 01/Nov/16 ]

Attachment .zipx has been added with description: Pcap files and related Karaf log

Comment by Tal Rosenzweig [ 08/Dec/16 ]

Attachment karaf.rar has been added with description: caught karaf.log on the problem happend

Comment by Yair Zinger [ 13/Dec/16 ]

This bug is cause because we don't have a "FinTimeoutCodec" (and converter).
The scenario is run with learn security groups and send TCP traffic from a VM.
It should create a flow on table 41 with "actions=fin_timeout(...)".
The flow is created correctly dynamically.

The problem is when we receive this flow as part of the stats.
The ODL tries to read it and fails on deserializing it.

The solution - create codec and converter for FinTimeout.

Comment by Koby Aizer [ 21/Dec/16 ]

Review: https://git.opendaylight.org/gerrit/#/c/49665/

Comment by Koby Aizer [ 09/Jan/17 ]

Raising severity to critical as this exceptions floods the ODL logs

Comment by Tomas Slusny [ 20/Feb/17 ]

This was merged on both carbon and boron, so can this be closed?

Comment by Yair Zinger [ 21/Feb/17 ]

(In reply to Tomas Slusny from comment #9)
> This was merged on both carbon and boron, so can this be closed?

I think it can be resolved.

Generated at Wed Feb 07 20:33:27 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.