Re: [openflowplugin-dev] [OpenDaylight Discuss] New datastore model update


Luis Gomez
 

Yes, Michal is right here, this is not an issue. I believe Madhusudhan was manually pushing an OF13 flow into mininet OF10 when he got this exception. In the automation (Robot) we are using the right flow and so we do not see this exception.

BR/Luis



On May 2, 2014, at 1:09 AM, Michal Polkoráb <michal.polkorab@...> wrote:

Hi all,

this log:
2014-04-29 16:59:01.751 PDT [nioEventLoopGroup-10-1] ERROR o.o.o.protocol.impl.core.OFEncoder - Serializer for key: msgVersion: 1 msgType: org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.actions.grouping.Action msgType2: org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.DecNwTtl was not found
shows that a message with DecNwTtl action arrived into openflowjava and it is supposed to be serialized into OF 1.0 message. However, there is no DecNwTtl action in OF 1.0. So this message won't leave the controller - openflowjava just throws the exception and discards the message.

Madhusudhan updated the bug with comment that there is difference between data in config and operational datastore, so problem might be there. 

Best regards
Michal Polkorab​


From: Abhijit Kumbhare <abhijitkoss@...>
Sent: 02 May 2014 03:08
To: Luis Gomez; openflowjava-dev@...
Cc: integration-dev@...; openflowplugin-dev@...
Subject: Re: [openflowplugin-dev] [OpenDaylight Discuss] New datastore model update
 
Adding also openflow-java for bug 782 in case they find a clue in the messages:

2014-04-29 16:59:01.751 PDT [nioEventLoopGroup-10-1] ERROR o.o.o.protocol.impl.core.OFEncoder - Message serialization failed
2014-04-29 16:59:01.751 PDT [nioEventLoopGroup-10-1] ERROR o.o.o.protocol.impl.core.OFEncoder - Serializer for key: msgVersion: 1 msgType: org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.actions.grouping.Action msgType2: org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.DecNwTtl was not found
java.lang.NullPointerException: Serializer for key: msgVersion: 1 msgType: org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.actions.grouping.Action msgType2: org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.DecNwTtl was not found
	at org.opendaylight.openflowjava.protocol.impl.serialization.SerializerRegistryImpl.getSerializer(SerializerRegistryImpl.java:68) ~[bundlefile:na]
	at org.opendaylight.openflowjava.protocol.impl.util.CodingUtils.serializeActions(CodingUtils.java:52) ~[bundlefile:na]
	at org.opendaylight.openflowjava.protocol.impl.serialization.factories.OF10FlowModInputMessageFactory.serialize(OF10FlowModInputMessageFactory.java:50) ~[bundlefile:na]
	at org.opendaylight.openflowjava.protocol.impl.serialization.factories.OF10FlowModInputMessageFactory.serialize(OF10FlowModInputMessageFactory.java:31) ~[bundlefile:na]
	at org.opendaylight.openflowjava.protocol.impl.serialization.SerializationFactory.messageToBuffer(SerializationFactory.java:36) ~[bundlefile:na]
	at org.opendaylight.openflowjava.protocol.impl.core.OFEncoder.encode(OFEncoder.java:40) [bundlefile:na]
	at org.opendaylight.openflowjava.protocol.impl.core.OFEncoder.encode(OFEncoder.java:25) [bundlefile:na]
	at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:111) [bundlefile:4.0.17.Final]
	at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:647) [bundlefile:4.0.17.Final]
	at io.netty.channel.DefaultChannelHandlerContext.access$2000(DefaultChannelHandlerContext.java:29) [bundlefile:4.0.17.Final]
	at io.netty.channel.DefaultChannelHandlerContext$AbstractWriteTask.write(DefaultChannelHandlerContext.java:914) [bundlefile:4.0.17.Final]
	at io.netty.channel.DefaultChannelHandlerContext$WriteAndFlushTask.write(DefaultChannelHandlerContext.java:968) [bundlefile:4.0.17.Final]
	at io.netty.channel.DefaultChannelHandlerContext$AbstractWriteTask.run(DefaultChannelHandlerContext.java:903) [bundlefile:4.0.17.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:354) [bundlefile:4.0.17.Final]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353) [bundlefile:4.0.17.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [bundlefile:4.0.17.Final]
	at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]


On Thu, May 1, 2014 at 5:59 PM, Luis Gomez <ecelgp@...> wrote:
Hi Abhijit,

Sorry for the confusion, the 2 bugs we are more interested to get fixed is:

- bug 782: it was before datastore but we really want to get these exceptions to disappear from the console
- bug 937: this is the new bug related to new datastore model

Thanks/Luis



On May 1, 2014, at 5:54 PM, Abhijit Kumbhare <abhijitkoss@...> wrote:

Luis, Madhusudhan,

Do you want to assign bug 782 back to Michal? Currently it is under Madhusudhan's name.

Thanks,
Abhijit


On Thu, May 1, 2014 at 4:58 PM, Luis Gomez <ecelgp@...> wrote:
Hi all,

These are the two issues we have found so far with the new datastore model:

- OF10 flows not pushed to OVS switch with new OF plugin. Bug 782 to ofplugin project
- Java Exception during controller startup. Bug 936 to controller project

BR/Luis

_______________________________________________
Discuss mailing list
Discuss@...
https://lists.opendaylight.org/mailman/listinfo/discuss



MichalPolkoráb
Software Developer

Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
 / michal.polkorab@...
reception: +421 2 206 65 111 
/ www.pantheon.sk 
logo

Join integration-dev@lists.opendaylight.org to automatically receive all group messages.