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

He: Failed to issue flow stats; get-flow-statistics-from-flow-table

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 5090

      What I used
      -----------

      Source code: stable/beryllium of 01/25/2016
      OpenFlow version: OF10
      Target OFP: OpenFlow plugin Helium version
      Application: VTN Manager ("odl-vtn-manager-rest" feature)
      Failed RPC: get-flow-statistics-from-flow-table

      What I happened
      ---------------

      Just after the OpenFlow plugin got connected with an OpenFlow 1.0 switch, VTN Manager called the RPC "get-flow-statistics-from-flow-table" to get all flow entries in a flow table of the switch.
      However, the RPC failed, because the RPC was not registered yet.

      2016-01-25 15:24:00,423 | ERROR | er Task Thread-0 | StatsReaderService | 178 - org.opendaylight.vtn.manager.implementation - 0.4.0.SNAPSHOT | get-flow-stats: Caught an exception: canceled=false, input=GetFlowStatisticsFromFlowTableInput [_cookie=FlowCookie [_value=9175521290813964288], _cookieMask=FlowCookie [_value=18446462598732840960], _node=NodeRef [_value=KeyedInstanceIdentifier

      {targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=openflow:2]]]]}

      ], _tableId=0, augmentation=[]]
      java.util.concurrent.ExecutionException: org.opendaylight.controller.md.sal.dom.api.DOMRpcImplementationNotAvailableException: No local or remote implementation available for rpc AbsoluteSchemaPath

      {path=[(urn:opendaylight:flow:statistics?revision=2013-08-19)get-flow-statistics-from-flow-table]}

      at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299)[54:com.google.guava:18.0.0]

      2016-01-25 15:24:00,424 | ERROR | er Task Thread-0 | StatsReaderService | 178 - org.opendaylight.vtn.manager.implementation - 0.4.0.SNAPSHOT | Failed to issue flow stats RPC: get-flow-stats
      org.opendaylight.vtn.manager.VTNException: No local or remote implementation available for rpc AbsoluteSchemaPath

      {path=[(urn:opendaylight:flow:statistics?revision=2013-08-19)get-flow-statistics-from-flow-table]}

      at org.opendaylight.vtn.manager.internal.util.concurrent.AbstractVTNFuture.getException(AbstractVTNFuture.java:75)[178:org.opendaylight.vtn.manager.implementation:0.4.0.SNAPSHOT]
      at org.opendaylight.vtn.manager.internal.util.rpc.RpcInvocation.getResult(RpcInvocation.java:89)[178:org.opendaylight.vtn.manager.implementation:0.4.0.SNAPSHOT]]

      The issue happened in the CSIT for VTN project.
      https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-manager-only-beryllium/75/artifact/karaf.log

      The issue does not happen always.
      It occurred in the build 75 of the vtn-csit-1node-manager-only-beryllium, but it didn't occurr in hte build 73, 74, and 76.
      https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-manager-only-beryllium/

        1. karaf.log
          358 kB
        2. karaf.log.1
          147 kB

            Unassigned Unassigned
            Hideyuki1985 Hideyuki Tai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: