-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: High
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.5
-
Component/s: kind-voltha
-
Labels:None
-
Story Points:2
-
Epic Link:
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