Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
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.
[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
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
], 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
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
Issue Links
- is duplicated by
-
OPNFLWPLUG-873 Was not able to set role SLAVE to device on node
- Resolved