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

br-sfc become slave and disconnect from ODL

    XMLWordPrintable

Details

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

    • 7948

    Description

      After installing the odl-openflowplugin-flow-services-ui feature in odl then trying to connect to a bridge "br-sfc" in ovs instance (ovs_version: "2.5.90"). ODL was not able to connect showing the following logs error at [1]. It was tested with Opendaylight Boron SR2 release and recent Carbon distribution [0]. In order to reproduce the issue you need at least 4 bridges try to connect to ODL.

      [0] https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.6.0-SNAPSHOT/distribution-karaf-0.6.0-20170309.102115-4296.zip

      [1] 2017-03-09 21:54:05,446 | INFO | pool-16-thread-1 | DeviceMastership | 236 - org.opendaylight.openflowplugin.applications.forwardingrules-manager - 0.4.0.SNAPSHOT | FRM started for: openflow:235989041245259
      2017-03-09 21:54:05,538 | INFO | entLoopGroup-5-1 | RoleService | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | submitRoleChange onSuccess for device:Uri [_value=openflow:235989041245259], role:BECOMEMASTER
      2017-03-09 21:54:07,506 | WARN | pool-19-thread-1 | DeviceContextImpl | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | New role BECOMESLAVE was not propagated to device openflow:200584538364992 during 10 sec
      2017-03-09 21:54:07,515 | ERROR | pool-19-thread-1 | SalRoleServiceImpl | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | SetRoleService set Role BECOMESLAVE for Node: 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:200584538364992]]]]}

      fail . Reason java.util.concurrent.CancellationException: Task was cancelled.
      2017-03-09 21:54:07,515 | WARN | pool-19-thread-1 | DeviceManagerImpl | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | Was not able to set role SLAVE to device on node openflow:200584538364992
      2017-03-09 21:54:10,542 | INFO | entLoopGroup-5-1 | ConnectionAdapterImpl | 217 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.9.0.SNAPSHOT | Hello received
      2017-03-09 21:54:10,550 | INFO | entLoopGroup-5-1 | DeviceManagerImpl | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | ConnectionEvent: Device connected to controller, Device:/10.10.1.60:38467, NodeId:Uri [_value=openflow:200584538364992]
      2017-03-09 21:54:10,554 | INFO | entLoopGroup-5-1 | SalRoleServiceImpl | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | SetRole called with input:SetRoleInput [_controllerRole=BECOMESLAVE, _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:200584538364992]]]]}

      ], augmentation=[]]
      2017-03-09 21:54:10,559 | INFO | entLoopGroup-5-1 | SalRoleServiceImpl | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | Requesting state change to BECOMESLAVE
      2017-03-09 21:54:10,560 | INFO | entLoopGroup-5-1 | SalRoleServiceImpl | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | RoleChangeTask called on device:openflow:200584538364992 OFPRole:BECOMESLAVE
      2017-03-09 21:54:10,563 | INFO | entLoopGroup-5-1 | RoleService | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | getGenerationIdFromDevice called for device: openflow:200584538364992
      2017-03-09 21:54:20,573 | WARN | pool-19-thread-1 | DeviceContextImpl | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | New role BECOMESLAVE was not propagated to device openflow:200584538364992 during 10 sec
      2017-03-09 21:54:20,573 | ERROR | pool-19-thread-1 | SalRoleServiceImpl | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | SetRoleService set Role BECOMESLAVE for Node: 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:200584538364992]]]]}

      fail . Reason java.util.concurrent.CancellationException: Task was cancelled.
      2017-03-09 21:54:20,573 | WARN | pool-19-thread-1 | DeviceManagerImpl | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | Was not able to set role SLAVE to device on node openflow:200584538364992
      2017-03-09 21:55:00,663 | INFO | pool-19-thread-1 | StatisticsManagerImpl | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | Statistics collection for node openflow:42760610094664 still in progress even after 50 secs
      2017-03-09 21:55:00,672 | WARN | pool-19-thread-1 | StatisticsManagerImpl | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | Statistics gathering for single node openflow:42760610094664 was not successful: Task was cancelled.
      2017-03-09 21:55:01,582 | INFO | pool-19-thread-1 | StatisticsManagerImpl | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | Statistics collection for node openflow:235989041245259 still in progress even after 50 secs
      2017-03-09 21:55:01,591 | WARN | pool-19-thread-1 | StatisticsManagerImpl | 228 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | Statistics gathering for single node openflow:235989041245259 was not successful: Task was cancelled.

      Attachments

        1. logs.zip
          348 kB
        2. relatedlog.txt
          25 kB
        3. Vagrantfile
          3 kB

        Issue Links

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

          Activity

            People

              serngawy Mohamed ElSerngawy
              serngawy Mohamed ElSerngawy
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: