Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-1242

VOLTHA is not connecting to several controllers

    XMLWordPrintable

    Details

    • 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

      Description

      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.

       

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            dvelben Daniel Velasco
            Reporter:
            dvelben Daniel Velasco
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There is 1 open Gerrit change