-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Medium
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: ofagent-py
-
Labels:None
-
Story Points:1
-
Sprint:VOLTHA 2.0 Sprint 8, VOLTHA 2.0 Sprint 9, VOLTHA 2.0 Sprint 10, VOLTHA 2.0 Sprint 11, VOLTHA 2.0 Sprint 12, VOLTHA 2.0 Sprint 13
It is detected that, when several controllers are configured in ofagent config in docker compose, ofagent is not connecting properly.
Checking logs it can be seen that ConnectionManager is not getting a list of 'server:port' values but a full string with the --controller parameter value:
20180925T144033.858 INFO connection_mgr._init_
{controller_endpoints: ['192.168.83.37:6653 192.168.83.38:6653 192.168.83.39:6653'], event: list-of-controllers, instance_id: compose_ofagent_1}but it should be
20180925T144033.858 INFO connection_mgr._init_
{controller_endpoints: ['192.168.83.37:6653', '192.168.83.38:6653', '192.168.83.39:6653'], event: list-of-controllers, instance_id: compose_ofagent_1}This has been detected in tests done with onos cluster of 3 instances.
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
11164,2 | VOL-1242: Split controller string from --controller option | master | voltha | Status: NEW | 0 | +1 |