Re: [openflowplugin-dev] [OpenDaylight Discuss] New datastore model update
Madhusudhan Kandadai <madhusudhan.opendaylight@...>
Sorry Michal for creating inconvenience and for the wrong body - Actually I was bit confused with the body (The link: https://wiki.opendaylight.org/view/CrossProject:Integration_Group:CSIT_Test_Plan_Base_of13 is updated with the correct response body now to avoid this type of silly mistakes in the future)
Anyways, using of10 mininet simulation, when I try to push a flow with an action <output-node-connector>openflow:1:1</output-node-connector>, I could not see the change reflected in operational datastore.
Steps to reproduce:
1. Start the mininet OF10 simulation
2. Push a flow : PUT http://10.125.136.52:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/152 and body: https://wiki.opendaylight.org/view/Flow_body -- look for of10 simulation
3. Verify the flows at operational: http://10.125.136.52:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/table/2 -- I could not see the flow gets updated.
Thanks,
Madhusudhan
On Mon, May 5, 2014 at 5:01 PM, Luis Gomez <ecelgp@...> wrote:
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/LuisOn 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 regardsMichal 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 updateAdding 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 modelThanks/LuisOn 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,AbhijitOn 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ábSoftware Developer
Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907 / michal.polkorab@...
reception: +421 2 206 65 111 / www.pantheon.sk
_______________________________________________
integration-dev mailing list
integration-dev@...
https://lists.opendaylight.org/mailman/listinfo/integration-dev