Hi,
I have ovs configured as under:
$ sudo ovs-vsctl show
8fb49ade-7e69-4bec-bac6-1c55f41ed1be
Bridge "br0"
Controller "tcp:192.168.100.20:6653"
is_connected: true
Port "br0"
Interface "br0"
type: internal
ovs_version: "2.6.90"
Now when i restart ovs as
$sudo /etc/init.d/openvswitch-switch restart
The odl connectivity fails.
$ sudo ovs-vsctl show
8fb49ade-7e69-4bec-bac6-1c55f41ed1be
Bridge "br0"
Controller "tcp:192.168.100.20:6653"
Port "br0"
Interface "br0"
type: internal
ovs_version: "2.6.90"
Logs at ODL side:
2016-08-28 17:37:14,047 | WARN | pool-32-thread-1 | RoleContextImpl
| 180 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | New
role B
ECOMESLAVE was not propagated to device openflow:230945197838408 during 10
sec
2016-08-28 17:37:14,049 | ERROR | pool-32-thread-1 | SalRoleServiceImpl
| 180 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT |
SetRoleSer
vice set Role BECOMESLAVE for Node:
KeyedInstanceIdentifier{targetType=interface
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,
p
ath=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes,
or
g.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=N
odeKey [_id=Uri [_value=openflow:230945197838408]]]]} fail . Reason
java.util.co
ncurrent.CancellationException: Task was cancelled.
2016-08-28 17:37:14,050 | WARN | pool-32-thread-1 | RoleManagerImpl
| 180 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Was
not ab
le to set role SLAVE to device on node openflow:230945197838408
2016-08-28 17:37:14,112 | INFO | entLoopGroup-7-1 | ConnectionAdapterImpl
| 170 - org.opendaylight.openflowjava.openflow-protocol-impl -
0.8.0.SNAPS
HOT | Hello received / branch
2016-08-28 17:37:14,122 | WARN | entLoopGroup-7-1 | DeviceManagerImpl
| 180 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Node
org.o
pendaylight.openflowplugin.impl.connection.ConnectionContextImpl$DeviceInfoImpl@
dac73f2f already connected disconnecting device. Rejecting connection
2016-08-28 17:37:14,125 | WARN | entLoopGroup-7-1 | DeviceManagerImpl
| 180 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Node
openf
low:230945197838408 context state not in TERMINATION state.
2016-08-28 17:37:14,130 | INFO | entLoopGroup-7-1 | ConnectionContextImpl
| 180 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT |
Unregister
outbound queue successful.
2016-08-28 17:37:22,110 | INFO | entLoopGroup-7-1 | ConnectionAdapterImpl
| 170 - org.opendaylight.openflowjava.openflow-protocol-impl -
0.8.0.SNAPS
HOT | Hello received / branch
2016-08-28 17:37:22,120 | WARN | entLoopGroup-7-1 | DeviceManagerImpl
| 180 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Node
org.o
pendaylight.openflowplugin.impl.connection.ConnectionContextImpl$DeviceInfoImpl@
dac73f2f already connected disconnecting device. Rejecting connection
2016-08-28 17:37:22,122 | WARN | entLoopGroup-7-1 | DeviceManagerImpl
| 180 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Node
openf
low:230945197838408 context state not in TERMINATION state.
2016-08-28 17:37:22,127 | INFO | entLoopGroup-7-1 | ConnectionContextImpl
| 180 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT |
Unregister
outbound queue successful.
Logs at OVS side:
2016-08-28T12:07:04.031Z|00021|rconn|INFO|br0<->tcp:192.168.100.20:6653:
connect
ed
2016-08-28T12:07:13.109Z|00022|rconn|ERR|br0<->tcp:192.168.100.20:6653: no
respo
nse to inactivity probe after 5 seconds, disconnecting
2016-08-28T12:07:14.022Z|00023|memory|INFO|34536 kB peak resident set size
after
10.1 seconds
2016-08-28T12:07:14.022Z|00024|memory|INFO|handlers:1 ofconns:1 ports:1
revalida
tors:1 rules:13 udpif keys:1
2016-08-28T12:07:14.107Z|00025|rconn|INFO|br0<->tcp:192.168.100.20:6653:
connect
ing...
2016-08-28T12:07:14.115Z|00026|rconn|INFO|br0<->tcp:192.168.100.20:6653:
connect
ed
2016-08-28T12:07:14.134Z|00027|rconn|INFO|br0<->tcp:192.168.100.20:6653:
connect
ion closed by peer
2016-08-28T12:07:14.135Z|00028|rconn|INFO|br0<->tcp:192.168.100.20:6653:
waiting
2 seconds before reconnect
...
Is this a know behaviour ?
Regards,
Ramesh
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev