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

Not able to set SLAVE role on device openflow:97702827111235, reason: Was not able to propagate SLAVE role on device. Error: org.opendaylight.openflowplugin.impl.role.RoleChangeException: Can't commit a completed message.

    XMLWordPrintable

    Details

      Description

      https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-3node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-oxygen/95/odl_3/odl3_karaf.log.gz

      The exception and errors below are repeated numerous times as ovs nodes are initially connected to ODL. This looks to lead to initial default flows not being programmed on the switches.

      2018-10-07T21:49:21,087 | INFO  | pool-83-thread-1 | SalRoleServiceImpl               | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | 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:97702827111235]]]]}], augmentation=[]]
      2018-10-07T21:49:21,088 | INFO  | pool-83-thread-1 | SalRoleServiceImpl               | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | Requesting state change to BECOMESLAVE
      2018-10-07T21:49:21,088 | INFO  | pool-83-thread-1 | SalRoleServiceImpl               | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | RoleChangeTask called on device:openflow:97702827111235 OFPRole:BECOMESLAVE
      2018-10-07T21:49:21,088 | INFO  | pool-83-thread-1 | RoleService                      | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | getGenerationIdFromDevice called for device: openflow:97702827111235
      2018-10-07T21:49:21,093 | WARN  | pool-83-thread-1 | OutboundQueueEntry               | 391 - org.opendaylight.openflowplugin.openflowjava.openflow-protocol-impl - 0.6.4 | Can't commit a completed message.
      2018-10-07T21:49:21,096 | ERROR | pool-83-thread-1 | RoleService                      | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | getGenerationIdFromDevice RPC error null
      2018-10-07T21:49:21,099 | WARN  | pool-83-thread-1 | ContextChainHolderImpl           | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | Not able to set SLAVE role on device openflow:97702827111235, reason: Was not able to propagate SLAVE role on device. Error: org.opendaylight.openflowplugin.impl.role.RoleChangeException: Can't commit a completed message.
      2018-10-07T21:49:21,100 | INFO  | pool-83-thread-1 | ReconciliationManagerImpl        | 376 - org.opendaylight.openflowplugin.applications.reconciliation-framework - 0.6.4 | Stopping reconciliation for node Uri [_value=openflow:97702827111235]
      2018-10-07T21:49:21,105 | INFO  | pool-83-thread-1 | ContextChainImpl                 | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | Closed clustering services registration for node openflow:97702827111235
      2018-10-07T21:49:21,106 | INFO  | pool-83-thread-1 | GuardedContextImpl               | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | Terminating DeviceContextImpl[NEW] service for node openflow:97702827111235
      2018-10-07T21:49:21,106 | INFO  | pool-83-thread-1 | GuardedContextImpl               | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | Terminating RpcContextImpl[NEW] service for node openflow:97702827111235
      2018-10-07T21:49:21,107 | INFO  | pool-83-thread-1 | GuardedContextImpl               | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | Terminating StatisticsContextImpl[NEW] service for node openflow:97702827111235
      2018-10-07T21:49:21,107 | INFO  | pool-83-thread-1 | StatisticsContextImpl            | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | Stopping running statistics gathering for node openflow:97702827111235
      2018-10-07T21:49:21,113 | INFO  | pool-83-thread-1 | GuardedContextImpl               | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | Terminating RoleContextImpl[NEW] service for node openflow:97702827111235
      2018-10-07T21:49:21,190 | INFO  | epollEventLoopGroup-9-15 | AbstractConnectionAdapter        | 391 - org.opendaylight.openflowplugin.openflowjava.openflow-protocol-impl - 0.6.4 | The channel outbound queue size:1024
      2018-10-07T21:49:21,191 | INFO  | epollEventLoopGroup-9-15 | ConnectionAdapterImpl            | 391 - org.opendaylight.openflowplugin.openflowjava.openflow-protocol-impl - 0.6.4 | Hello received
      2018-10-07T21:49:21,196 | INFO  | epollEventLoopGroup-9-15 | ContextChainHolderImpl           | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | Device openflow:97702827111235 connected.
      2018-10-07T21:49:21,197 | INFO  | epollEventLoopGroup-9-15 | ContextChainHolderImpl           | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | No context chain found for device: openflow:97702827111235, creating new.
      2018-10-07T21:49:21,197 | INFO  | epollEventLoopGroup-9-15 | DeviceManagerImpl                | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | ConnectionEvent: Device connected to controller, Device:/10.30.170.126:57622, NodeId:Uri [_value=openflow:97702827111235]
      2018-10-07T21:49:21,198 | INFO  | epollEventLoopGroup-9-15 | RoleContextImpl                  | 382 - org.opendaylight.openflowplugin.impl - 0.6.4 | Started timer for setting SLAVE role on device openflow:97702827111235 if no role will be set in 20s.
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Somashekhar Somashekhar Javalagi
              Reporter:
              shague Sam Hague
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: