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

If "voltha up" is run without removing ONOS the installation fails

    XMLWordPrintable

    Details

      Description

      How to reproduce:

      Run "./voltha up"
      Then run "./voltha up" again

      Expected result
      Successful installation

      Current result
      The installation hangs on:
      ⢎⡰ Disable VOLTHA ONOS DHCP on provisioning ⚙

      In the logs I can find:

      + curl -sSL --user karaf:karaf -w '%{http_code}' -o /tmp/tmp.Uzu1sywnj9 -X POST --fail -H Content-Type:application/json http://127.0.0.1:8181/onos/v1/configuration/org.opencord.olt.impl.OltFlowService --data '{"enableDhcpOnProvisioning":false}'
      {"code":207,"message":["Property enableDhcpOnProvisioning does not exist for org.opencord.olt.impl.OltFlowService"]}RESPONSE CODE: 207
      ERROR CODE: 0
      

      Root cause
      "_ONOS_TAG" is used in

      if [[ $(semver_greater "$_ONOS_TAG" "4.1.4") == "true" ]]; then
      

      to decide the format to be used for the ONOS config, but "_ONOS_TAG" is only computed if ONOS is installed in this execution, if ONOS is already there it's value is empty

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            hichawla Himani Chawla
            Reporter:
            teone Matteo Scandolo
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes