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

OF issue with datapath-id

    XMLWordPrintable

Details

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

    • 1274

    Description

      Hi all,

      I am testing HW switch with datapath-id: 0xcc4e241c4a000000

      Not sure how you calculate the Switch id but I see this in the inventory:

      "id": "openflow:14721743935839928320",
      "flow-node-inventory:switch-features": {
      "flow-node-inventory:max_buffers": 256,
      "flow-node-inventory:capabilities": [
      "flow-node-inventory:flow-feature-capability-flow-stats",
      "flow-node-inventory:flow-feature-capability-port-stats",
      "flow-node-inventory:flow-feature-capability-table-stats"
      ],
      "flow-node-inventory:max_tables": 1

      How is 14721743935839928320 gets calculated?

      Because after I see this ERROR too and the switch never gets stable in ODL:

      2014-06-30 14:46:17.729 PDT [nioEventLoopGroup-11-3] INFO o.o.o.p.i.c.PublishingChannelInitializer - Incoming connection from (remote address): /10.18.160.25:7801 --> :6633
      2014-06-30 14:46:17.730 PDT [nioEventLoopGroup-11-3] INFO o.o.o.p.i.c.PublishingChannelInitializer - Incoming connection accepted - building pipeline
      2014-06-30 14:46:17.732 PDT [nioEventLoopGroup-11-3] INFO o.o.o.p.i.c.ConnectionAdapterImpl - Hello received / branch
      2014-06-30 14:46:17.736 PDT [nioEventLoopGroup-11-3] INFO o.o.o.p.i.c.ConnectionAdapterImpl - Hello received / branch
      2014-06-30 14:46:17.738 PDT [nioEventLoopGroup-11-3] WARN o.o.o.p.i.c.ResponseExpectedRpcListener - Request for RpcResultKey [xid=234, outputClazz=org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesOutput] did not receive a response
      2014-06-30 14:46:17.751 PDT [md-sal-binding-notification-143] ERROR o.o.c.sal.binding.impl.NotifyTask - Unhandled exception thrown by listener: org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker@762df4eb
      java.lang.NumberFormatException: For input string: "14721743935839928320"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[na:1.7.0_51]
      at java.lang.Long.parseLong(Long.java:444) ~[na:1.7.0_51]
      at java.lang.Long.valueOf(Long.java:540) ~[na:1.7.0_51]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.openflowFullNodeIdToLong(NodeMapping.java:103) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.toADNode(NodeMapping.java:91) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.toADNode(NodeMapping.java:87) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.toADNode(NodeMapping.java:244) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter.onNodeUpdated(InventoryAndReadAdapter.java:454) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker.onNotification(InventoryAndReadAdapter$$Broker$ListenerInvoker.java) ~[na:na]
      at org.opendaylight.controller.sal.binding.impl.AbstractNotificationListenerRegistration.notify(AbstractNotificationListenerRegistration.java:38) ~[na:na]
      at org.opendaylight.controller.sal.binding.impl.NotifyTask.run(NotifyTask.java:42) ~[na:na]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
      at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
      2014-06-30 14:46:17.752 PDT [md-sal-binding-notification-146] ERROR o.o.c.sal.binding.impl.NotifyTask - Unhandled exception thrown by listener: org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker@762df4eb
      java.lang.NumberFormatException: For input string: "14721743935839928320"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[na:1.7.0_51]
      at java.lang.Long.parseLong(Long.java:444) ~[na:1.7.0_51]
      at java.lang.Long.valueOf(Long.java:540) ~[na:1.7.0_51]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.openflowFullNodeIdToLong(NodeMapping.java:103) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.toADNode(NodeMapping.java:91) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.toADNodeConnector(NodeMapping.java:132) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.toADNodeConnector(NodeMapping.java:126) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter.onNodeConnectorUpdated(InventoryAndReadAdapter.java:434) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker.onNotification(InventoryAndReadAdapter$$Broker$ListenerInvoker.java) ~[na:na]
      at org.opendaylight.controller.sal.binding.impl.AbstractNotificationListenerRegistration.notify(AbstractNotificationListenerRegistration.java:38) ~[na:na]
      at org.opendaylight.controller.sal.binding.impl.NotifyTask.run(NotifyTask.java:42) ~[na:na]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
      at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
      2014-06-30 14:46:17.755 PDT [md-sal-binding-notification-149] ERROR o.o.c.sal.binding.impl.NotifyTask - Unhandled exception thrown by listener: org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker@762df4eb
      java.lang.NumberFormatException: For input string: "14721743935839928320"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[na:1.7.0_51]
      at java.lang.Long.parseLong(Long.java:444) ~[na:1.7.0_51]
      at java.lang.Long.valueOf(Long.java:540) ~[na:1.7.0_51]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.openflowFullNodeIdToLong(NodeMapping.java:103) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.toADNode(NodeMapping.java:91) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.toADNodeConnector(NodeMapping.java:132) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.toADNodeConnector(NodeMapping.java:126) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter.onNodeConnectorUpdated(InventoryAndReadAdapter.java:434) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker.onNotification(InventoryAndReadAdapter$$Broker$ListenerInvoker.java) ~[na:na]
      at org.opendaylight.controller.sal.binding.impl.AbstractNotificationListenerRegistration.notify(AbstractNotificationListenerRegistration.java:38) ~[na:na]
      at org.opendaylight.controller.sal.binding.impl.NotifyTask.run(NotifyTask.java:42) ~[na:na]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
      at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
      2014-06-30 14:46:17.763 PDT [md-sal-binding-notification-152] ERROR o.o.c.sal.binding.impl.NotifyTask - Unhandled exception thrown by listener: org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker@762df4eb
      java.lang.NumberFormatException: For input string: "14721743935839928320"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[na:1.7.0_51]
      at java.lang.Long.parseLong(Long.java:444) ~[na:1.7.0_51]
      at java.lang.Long.valueOf(Long.java:540) ~[na:1.7.0_51]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.openflowFullNodeIdToLong(NodeMapping.java:103) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.toADNode(NodeMapping.java:91) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.toADNode(NodeMapping.java:87) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.NodeMapping.toADNode(NodeMapping.java:244) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter.onNodeUpdated(InventoryAndReadAdapter.java:454) ~[na:na]
      at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker.onNotification(InventoryAndReadAdapter$$Broker$ListenerInvoker.java) ~[na:na]
      at org.opendaylight.controller.sal.binding.impl.AbstractNotificationListenerRegistration.notify(AbstractNotificationListenerRegistration.java:38) ~[na:na]
      at org.opendaylight.controller.sal.binding.impl.NotifyTask.run(NotifyTask.java:42) ~[na:na]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
      at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]

      Attachments

        Issue Links

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

          Activity

            People

              ecelgp Luis Gomez
              ecelgp Luis Gomez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: