Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ofagent disconnects and reconnects with onos pods #8

Open
thomaslees opened this issue Mar 10, 2019 · 0 comments
Open

ofagent disconnects and reconnects with onos pods #8

thomaslees opened this issue Mar 10, 2019 · 0 comments

Comments

@thomaslees
Copy link

thomaslees commented Mar 10, 2019

I have created an ONOS cluster running as Kubernetes pods. I could connect ofagent with the cluster and could see my OLT in ONOS console with one master and two standbys. However when I 'watch roles' I can see the connection is lost every 30 seconds on both the standbys or so and is reestablished.
I am getting the following error in ofagent logs.

20190308T112531.089 DEBUG MainThread connection_mgr.get_list_of_reachable_logical_devices_from_voltha {'instance_id': 'ofagent-lee-1', 'datapath_id': 183060333L, 'id': '000100000ae9476d', 'event': 'reachable-logical-device-entry'}
20190308T112531.251 ERROR MainThread agent.enter_disconnected {'instance_id': 'ofagent-lee-1', 'reason': <twisted.python.failure.Failure twisted.internet.error.ConnectionDone: Connection was closed cleanly.>, 'event': 'connection-lost'}
20190308T112531.253 DEBUG MainThread agent.keep_connected {'instance_id': 'ofagent-lee-1', 'after_delay': 1, 'event': 'reconnect'}
20190308T112531.257 ERROR MainThread agent.clientConnectionLost {'connector': <twisted.internet.tcp.Connector instance at 0x7f8c80cc6050>, 'instance_id': 'ofagent-lee-1', 'reason': <twisted.python.failure.Failure twisted.internet.error.ConnectionDone: Connection was closed cleanly.>, 'event': 'client-connection-lost'}
20190308T112531.261 ERROR MainThread agent.enter_disconnected {'instance_id': 'ofagent-lee-1', 'reason': <twisted.python.failure.Failure twisted.internet.error.ConnectionDone: Connection was closed cleanly.>, 'event': 'connection-lost'}
20190308T112531.263 DEBUG MainThread agent.keep_connected {'instance_id': 'ofagent-lee-1', 'after_delay': 1, 'event': 'reconnect'}
20190308T112531.264 ERROR MainThread agent.clientConnectionLost {'connector': <twisted.internet.tcp.Connector instance at 0x7f8c80cc6b90>, 'instance_id': 'ofagent-lee-1', 'reason': <twisted.python.failure.Failure twisted.internet.error.ConnectionDone: Connection was closed cleanly.>, 'event': 'client-connection-lost'}
20190308T112532.257 INFO MainThread agent.keep_connected {'instance_id': 'ofagent-lee-1', 'host': 'onos-state-0.onos-state.default.svc.cluster.local', 'port': 6653, 'event': 'connecting'}
20190308T112532.260 INFO MainThread agent.keep_connected {'instance_id': 'ofagent-lee-1', 'event': 'tls-disabled'}
20190308T112532.264 INFO MainThread agent.enter_connected {'instance_id': 'ofagent-lee-1', 'event': 'connected'}
20190308T112532.265 INFO MainThread agent.keep_connected {'instance_id': 'ofagent-lee-1', 'host': 'onos-state-1.onos-state.default.svc.cluster.local', 'port': 6653, 'event': 'connecting'}
20190308T112532.265 INFO MainThread agent.keep_connected {'instance_id': 'ofagent-lee-1', 'event': 'tls-disabled'}
20190308T112532.266 DEBUG MainThread of_protocol_handler.start {'instance_id': 'ofagent-lee-1', 'event': 'starting'}

Any help will be highly useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant