[IEC-46] [IEC][SEBA] Upgrade to Voltha 2.3 Created: 05/May/20 Updated: 26/Jun/20 |
|
| Status: | In Progress |
| Project: | Integrated Edge Cloud |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Medium |
| Reporter: | Ciprian Barbu | Assignee: | Catalin Iova |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
With the recent release of Voltha 2.3 in Opencord, we should also look into integrating into our own version as well. In regards to SEBA as a whole, right now there is no new release other than the old 2.0-alpha1, and the next release is scheduled for end of year, which should be version 2.0. Depending on the SEBA chart requirement, we might have to upgrade some of the other components, besides Voltha, but these will be handled as needed. |
| Comments |
| Comment by Catalin Iova [ 26/Jun/20 ] |
|
There will be need of olt-service and XOS updates for SEBA 2.0 in order to work with voltha 2.x architecture. |
| Comment by Catalin Iova [ 24/Jun/20 ] |
|
New voltctl can be used from: https://github.com/opencord/voltctl or from https://github.com/ciena/voltctl Building https://github.com/opencord/voltctl:
Building https://github.com/ciena/voltctl:
|
| Comment by Catalin Iova [ 23/Jun/20 ] |
|
Fix patches attached: 0001-Voltha-2.x-bbsim-fix.patch 0001-Voltha-2.x-onos-fix.patch |
| Comment by Catalin Iova [ 11/Jun/20 ] |
|
ONOS 2.2.2 is used for voltha 2.3 and new ONOS applications. Source code and documentation: https://docs.voltha.org/2.3.0/release_notes/voltha_2.3.html There is no onos 2.2.2 chart in opencord for the moment but https://charts.opencord.org/onos-3.0.1.tgz can be used to use the updates for deployment and log using new karaf version 4.2.8 |
| Comment by Catalin Iova [ 05/Jun/20 ] |
|
Patches attached for using non private kafka and etcd clusters so all pods can share it not just voltha pods: 0001-voltha-2.x-public-kafka-and-etcd-clusters.patch 0001-voltha-2.x-public-kafka-and-etcd-clusters-automation.patch |
| Comment by Catalin Iova [ 03/Jun/20 ] |
|
The new voltha 2.x architecture is very different by the old 1.x voltha and requires several updates in seba that are current unavailable in opencord charts. One of the updates due architecture changes is that voltha APIs differs and are used over gRPC over http2 instead of restful APIs. Also ssh access seems unavailable even if it is documented (ssh pod and service is missing). Due voltha API limitation volt seba service will need updates and not only but seems to be unavailable in opencord at this time. Regarding ssh missing, it seems voltctl tool is available and shall be enough to debug the devices and some limited configuration. |
| Comment by Catalin Iova [ 03/Jun/20 ] |
|
Patches for helm-charts and automation tools attached: 0001-Voltha-2.x-helm-charts-updates.patch respective 0001-Voltha-2.x-automation-tools-example.patch and includes:
|
| Comment by Catalin Iova [ 03/Jun/20 ] |
|
Voltha is installed from opencord for testing using the following commands (voltha 2.3 example): git clone https://gerrit.opencord.org/voltha-test-manifest.git -b voltha-2.3 ./kind-voltha/voltha is the script from where can be seen how helm is used to install voltha components, onos, kafka, etcd and other commands like port forwarding.
Voltha robot tests can be run from voltha-system-tests as follows: 1. make vst_venv 2. source ./vst_venv/bin/activate ; set -u ; 3. cd tests/functional 4. VOLTCONFIG=/.volt/config KUBECONFIG=/.kube/config robot -V <full path here>/voltha-system-tests/tests/data/bbsim-kind.yaml Voltha_PODTests.robot |
| Comment by Catalin Iova [ 18/May/20 ] |
|
Remains to investigate other SEBA components dependent of voltha 2.3. |
| Comment by Catalin Iova [ 18/May/20 ] |
|
First investigation was done in regard of building all necessary images for voltha 2.3. The following images are build (pushed in iecedge hub.docker.com) as below: ofagent-go 1.1.6/1.1.7 (iecedge/voltha-ofagent-go_arm64): rw-core 2.3.5 (iecedge/voltha-rw-core_arm64:2.3.5): voltha-python-base 1.0.0 (iecedge/voltha-python-base:1.0.0): ofagent-py 2.2.7 (iecedge/voltha-ofagent-py_arm64:2.2.7): voltha-python-base 2.0.0 (iecedge/voltha-python-base:2.0.0): -openssl=1.1.1d-0+deb10u2 \ -git=1:2.20.1-2 \ -libssl-dev=1.1.1d-0+deb10u2 \ 3.2. File requirements.lock: -pyflakes==2.1.0 4. make docker-build voltha-openolt-adapter:2.3.23 (iecedge/voltha-openolt-adapter_arm64:2.3.23): voltha-openonu-adapter:2.3.6 (iecedge/voltha-openonu-adapter_arm64:2.3.6): voltha-adapter-simulated-olt:2.2.3 (iecedge/voltha-adapter-simulated-olt_arm64:2.2.3): voltha-adapter-simulated-onu:2.2.3 (iecedge/voltha-adapter-simulated-onu_arm64:2.2.3):
|