Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-421

Unable to write statistics data to DS

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 3071
    • Highest

    Description

      2015-04-27 18:42:43,759 | TRACE | entLoopGroup-8-2 | StatisticsContextImpl | 261 - org.opendaylight.openflowplugin.impl - 0.1.0.SNAPSHOT | Multipart response for OFPMPTABLE FAILED.
      java.lang.IllegalStateException: Previous transaction is not ready yet
      at com.google.common.base.Preconditions.checkState(Preconditions.java:173)[97:com.google.guava:18.0.0]
      at org.opendaylight.controller.cluster.datastore.TransactionChainProxy.checkReadyState(TransactionChainProxy.java:133)[215:org.opendaylight.controller.sal-distributed-datastore:1.2.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.TransactionChainProxy.allocateWriteTransaction(TransactionChainProxy.java:121)[215:org.opendaylight.controller.sal-distributed-datastore:1.2.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.TransactionChainProxy.newReadWriteTransaction(TransactionChainProxy.java:101)[215:org.opendaylight.controller.sal-distributed-datastore:1.2.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.databroker.DOMBrokerReadWriteTransaction.createTransaction(DOMBrokerReadWriteTransaction.java:49)[215:org.opendaylight.controller.sal-distributed-datastore:1.2.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.databroker.DOMBrokerReadWriteTransaction.createTransaction(DOMBrokerReadWriteTransaction.java:22)[215:org.opendaylight.controller.sal-distributed-datastore:1.2.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.databroker.AbstractDOMBrokerTransaction.getSubtransaction(AbstractDOMBrokerTransaction.java:57)[215:org.opendaylight.controller.sal-distributed-datastore:1.2.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.databroker.DOMBrokerWriteOnlyTransaction.put(DOMBrokerWriteOnlyTransaction.java:78)[215:org.opendaylight.controller.sal-distributed-datastore:1.2.0.SNAPSHOT]
      at org.opendaylight.controller.md.sal.dom.spi.ForwardingDOMDataReadWriteTransaction.put(ForwardingDOMDataReadWriteTransaction.java:49)[189:org.opendaylight.controller.sal-core-spi:1.2.0.SNAPSHOT]
      at org.opendaylight.controller.md.sal.binding.impl.AbstractWriteTransaction.put(AbstractWriteTransaction.java:49)[193:org.opendaylight.controller.sal-binding-broker-impl:1.2.0.SNAPSHOT]
      at org.opendaylight.controller.md.sal.binding.impl.BindingDOMWriteTransactionAdapter.put(BindingDOMWriteTransactionAdapter.java:40)[193:org.opendaylight.controller.sal-binding-broker-impl:1.2.0.SNAPSHOT]
      at org.opendaylight.openflowplugin.impl.device.TransactionChainManager.writeToTransaction(TransactionChainManager.java:76)[261:org.opendaylight.openflowplugin.impl:0.1.0.SNAPSHOT]
      at org.opendaylight.openflowplugin.impl.device.DeviceContextImpl.writeToTransaction(DeviceContextImpl.java:168)[261:org.opendaylight.openflowplugin.impl:0.1.0.SNAPSHOT]
      at org.opendaylight.openflowplugin.impl.statistics.StatisticsGatheringUtils.processFlowTableStatistics(StatisticsGatheringUtils.java:261)[261:org.opendaylight.openflowplugin.impl:0.1.0.SNAPSHOT]
      at org.opendaylight.openflowplugin.impl.statistics.StatisticsGatheringUtils.access$400(StatisticsGatheringUtils.java:97)[261:org.opendaylight.openflowplugin.impl:0.1.0.SNAPSHOT]
      at org.opendaylight.openflowplugin.impl.statistics.StatisticsGatheringUtils$1.apply(StatisticsGatheringUtils.java:140)[261:org.opendaylight.openflowplugin.impl:0.1.0.SNAPSHOT]
      at org.opendaylight.openflowplugin.impl.statistics.StatisticsGatheringUtils$1.apply(StatisticsGatheringUtils.java:121)[261:org.opendaylight.openflowplugin.impl:0.1.0.SNAPSHOT]
      at com.google.common.util.concurrent.Futures$2.apply(Futures.java:760)[97:com.google.guava:18.0.0]
      at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:906)[97:com.google.guava:18.0.0]
      at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[97:com.google.guava:18.0.0]
      at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[97:com.google.guava:18.0.0]
      at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)[97:com.google.guava:18.0.0]
      at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)[97:com.google.guava:18.0.0]
      at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)[97:com.google.guava:18.0.0]
      at org.opendaylight.openflowplugin.impl.device.DeviceContextImpl.processReply(DeviceContextImpl.java:284)[261:org.opendaylight.openflowplugin.impl:0.1.0.SNAPSHOT]
      at org.opendaylight.openflowplugin.impl.device.listener.MultiMsgCollectorImpl$MultiCollectorObject.publishCollection(MultiMsgCollectorImpl.java:129)[261:org.opendaylight.openflowplugin.impl:0.1.0.SNAPSHOT]
      at org.opendaylight.openflowplugin.impl.device.listener.MultiMsgCollectorImpl.addMultipartMsg(MultiMsgCollectorImpl.java:101)[261:org.opendaylight.openflowplugin.impl:0.1.0.SNAPSHOT]
      at org.opendaylight.openflowplugin.impl.device.listener.OpenflowProtocolListenerFullImpl.onMultipartReplyMessage(OpenflowProtocolListenerFullImpl.java:86)[261:org.opendaylight.openflowplugin.impl:0.1.0.SNAPSHOT]
      at org.opendaylight.openflowjava.protocol.impl.core.connection.ConnectionAdapterImpl.consume(ConnectionAdapterImpl.java:297)[258:org.opendaylight.openflowjava.openflow-protocol-impl:0.6.0.SNAPSHOT]
      at org.opendaylight.openflowjava.protocol.impl.core.DelegatingInboundHandler.channelRead(DelegatingInboundHandler.java:46)[258:org.opendaylight.openflowjava.openflow-protocol-impl:0.6.0.SNAPSHOT]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[151:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[151:io.netty.transport:4.0.26.Final]
      at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)[177:io.netty.codec:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[151:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[151:io.netty.transport:4.0.26.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:242)[177:io.netty.codec:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[151:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[151:io.netty.transport:4.0.26.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:242)[177:io.netty.codec:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[151:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[151:io.netty.transport:4.0.26.Final]
      at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150)[178:io.netty.handler:4.0.26.Final]
      at org.opendaylight.openflowjava.protocol.impl.core.IdleHandler.channelRead(IdleHandler.java:39)[258:org.opendaylight.openflowjava.openflow-protocol-impl:0.6.0.SNAPSHOT]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[151:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[151:io.netty.transport:4.0.26.Final]
      at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)[151:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[151:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[151:io.netty.transport:4.0.26.Final]
      at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:847)[151:io.netty.transport:4.0.26.Final]

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mbobak@cisco.com Martin Bobak
              mbobak@cisco.com Martin Bobak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: