Uploaded image for project: 'vpnservice'
  1. vpnservice
  2. VPNSERVICE-2

Invalid range Exception in setDpnId

    XMLWordPrintable

Details

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

    • critical
    • 3292

    Description

      Ran into following exception when trying to configure VPnInterface when using vpnservice with openstack/OVSDB.

      2015-05-19 23:46:16,518 | ERROR | ult-dispatcher-3 | DataChangeListener | 276 - org.opendaylight.controller.sal-distributed-datastore - 1.2.0.SNAPSHOT | Error notifying listener org.opendaylight.vpnservice.fibmanager.FibManager
      java.lang.IllegalArgumentException: Invalid range: 262702505666885, expected: [[0?4294967295]].
      at org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.l3nexthop.rev150409.GetEgressPointerInputBuilder.setDpnId(GetEgressPointerInputBuilder.java:85)[356:org.opendaylight.vpnservice.nexthopmgr-api:0.1.0.SNAPSHOT]
      at org.opendaylight.vpnservice.fibmanager.FibManager.resolveAdjacency(FibManager.java:416)[367:org.opendaylight.vpnservice.fibmanager-impl:0.1.0.SNAPSHOT]
      at org.opendaylight.vpnservice.fibmanager.FibManager.addRouteInternal(FibManager.java:193)[367:org.opendaylight.vpnservice.fibmanager-impl:0.1.0.SNAPSHOT]
      at org.opendaylight.vpnservice.fibmanager.FibManager.createFibEntries(FibManager.java:184)[367:org.opendaylight.vpnservice.fibmanager-impl:0.1.0.SNAPSHOT]
      at org.opendaylight.vpnservice.fibmanager.FibManager.add(FibManager.java:160)[367:org.opendaylight.vpnservice.fibmanager-impl:0.1.0.SNAPSHOT]

      When using mininet dpnId is within range for 'long' but with OVSDB it uses a dpnid which is bigger than that. Note that most physical switches use a combination of mac-address and/or some other parameter to generate DatapathId, so dpnId will most of the times be bigger than range for long.

      Attachments

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

        Activity

          People

            thapar Vishal Thapar
            thapar Vishal Thapar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: