Error while creating the rendered Service Path

asked 2016-06-06 03:50:02 -0700

devendra gravatar image

Hi,

I have a Openstack (Kilo) and ODL (Lithium SR3) setup. I am trying to setup a basic SFC via OVS. The desired flow is if traffic flows from Node A to Node B it should go via Node C. Node C is a SF and an interface on OVS is acting like SFF.

While creating RSP i am getting this error:-

    ERROR | lt-dispatcher-44 | SfcL2RspProcessor                | 315 - org.opendaylight.sfc.ofl2 - 0.1.3.Lithium-SR3 | RuntimeException in processRenderedServicePath:
    java.lang.RuntimeException: processSffDpls srcSff is null [SFF1-6jun-dev]
            at org.opendaylight.sfc.l2renderer.SfcL2RspProcessor.processSffDpls(SfcL2RspProcessor.java:813)[315:org.opendaylight.sfc.ofl2:0.1.3.Lithium-SR3]
            at org.opendaylight.sfc.l2renderer.SfcL2RspProcessor.processRenderedServicePath(SfcL2RspProcessor.java:121)[315:org.opendaylight.sfc.ofl2:0.1.3.Lithium-SR3]
            at org.opendaylight.sfc.l2renderer.SfcL2RspDataListener.onDataChanged(SfcL2RspDataListener.java:61)[315:org.opendaylight.sfc.ofl2:0.1.3.Lithium-SR3]
            at org.opendaylight.controller.md.sal.binding.impl.AbstractForwardedDataBroker$TranslatingDataChangeInvoker.onDataChanged(AbstractForwardedDataBroker.java:143)[161:org.opendaylight.controller.sal-binding-broker-impl:1.2.3.Lithium-SR3]
            at org.opendaylight.controller.cluster.datastore.DataChangeListener.dataChanged(DataChangeListener.java:66)[183:org.opendaylight.controller.sal-distributed-datastore:1.2.3.Lithium-SR3]
            at org.opendaylight.controller.cluster.datastore.DataChangeListener.handleReceive(DataChangeListener.java:39)[183:org.opendaylight.controller.sal-distributed-datastore:1.2.3.Lithium-SR3]
            at org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor.onReceive(AbstractUntypedActor.java:34)[175:org.opendaylight.controller.sal-clustering-commons:1.2.3.Lithium-SR3]
            at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)[168:com.typesafe.akka.actor:2.3.10]
            at akka.actor.Actor$class.aroundReceive(Actor.scala:467)[168:com.typesafe.akka.actor:2.3.10]
            at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97)[168:com.typesafe.akka.actor:2.3.10]
            at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)[168:com.typesafe.akka.actor:2.3.10]
            at akka.actor.ActorCell.invoke(ActorCell.scala:487)[168:com.typesafe.akka.actor:2.3.10]
            at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254)[168:com.typesafe.akka.actor:2.3.10]
            at akka.dispatch.Mailbox.run(Mailbox.scala:221)[168:com.typesafe.akka.actor:2.3.10]
            at akka.dispatch.Mailbox.exec(Mailbox.scala:231)[168:com.typesafe.akka.actor:2.3.10]
            at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[165:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b]
            at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253)[165:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b]
            at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346)[165:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b]
            at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[165:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b]
            at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[165:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b]

Response is appreciated.

JSON

    SF
{
  "service-functions": {
    "service-function": [
      {
        "name": "SF1-6Jun-dev",
        "ip-mgmt-address": "10.0.21.4",
        "sf-data-plane-locator": [
          {
            "name": "sf1-dpl",
            "port": 6653,
            "ip": "192.168.60.5", -- IP of SF
            "transport": "service-locator:gre",
            "service-function-forwarder": "SFF1-6jun-dev"
          }
        ],
        "nsh-aware": true,
        "type": "service-function-type:dpi"
      }
    ]
  }
}

SFF
{
  "service-function-forwarders": {
    "service-function-forwarder": [
      {
        "name": "SFF1-6Jun-dev",
        "service-function-forwarder-ovs:ovs-bridge": {
          "bridge-name": "br-int" -- using default bridge
        },
        "service-function-dictionary": [
          {
            "name": "SF1-6Jun-dev",
            "sff-sf-data-plane-locator": {
              "port": 6653 ...
(more)
edit retag flag offensive close merge delete